------- Comment #5 from jakub at gcc dot gnu dot org 2008-11-03 09:07 ------- Created an attachment (id=16615) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16615&action=view) gcc44-pr37812.patch
Ah, I see, it is a testsuite bug then. altivec_check.h uses the lvlx insns inside of inline assembly unconditionally. There is no reason for that if not -mcpu=cell and when -mcpu=cell is used, the user and/or testcase should better make sure the assembler supports cell. Which leads to another bug, we need a new target-supports tcl function and guard all the -mcpu=cell tests with it (say powerpc_cell_ok or powerpc_ppu_ok, which would imply powerpc_altivec_ok and that these insns can be assembled). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37812