This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug testsuite/50988] gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50988

Kyle Moffett <Kyle.D.Moffett at boeing dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Target|                            |powerpc-linux-gnuspe
               Host|                            |powerpc-linux-gnuspe
              Build|                            |powerpc-linux-gnuspe

--- Comment #1 from Kyle Moffett <Kyle.D.Moffett at boeing dot com> 2011-11-03 20:44:10 UTC ---
Oops, hit "Submit" before I finished editing...

The fix for the "altivec-34.c" test should be to add this line somwhere at the
top:
  /* { dg-require-effective-target powerpc_altivec_ok } */

Additionally, the "gcc.target/powerpc/ehreturn.c" test is failing on e500 as
r30 is saved using "evstdd 30," instead of "stw 30," or "std 30,".  The
scan-assembler line should be updated to allow the e500 evstdd instruction as
well.

Then the "gcc.target/powerpc/ppc-pow.c" test fails with a bunch of these
errors:
  error: target attribute or pragma changes SPE ABI.

Since the test seems to be assuming power6 and standard PPC floating point, I
assume that it should be disabled on powerpc-linux-gnuspe targets.

Cheers,
Kyle Moffett

--
Curious about my work on the Debian powerpcspe port?
I'm keeping a blog here: http://pureperl.blogspot.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]