public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug testsuite/50988] New: gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets
@ 2011-11-03 20:31 Kyle.D.Moffett at boeing dot com
  2011-11-03 20:44 ` [Bug testsuite/50988] " Kyle.D.Moffett at boeing dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Kyle.D.Moffett at boeing dot com @ 2011-11-03 20:31 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50988
           Summary: gcc.target/powerpc/altivec-34.c: Test build failure on
                    non-AltiVec targets
    Classification: Unclassified
           Product: gcc
           Version: 4.6.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: testsuite
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: Kyle.D.Moffett@boeing.com


All of the other AltiVec tests (except altivec-34.c) have:
  /* { dg-require-effective-target powerpc_altivec_ok } */

As a result, a bogus testcase failure is generated on powerpc-linux-gnuspe:
  FAIL: gcc.target/powerpc/altivec-34.c (test for excess errors)
  Excess errors:
 
/srv/build/kmoffett/gcc-4.6-4.6.2/src/gcc/testsuite/gcc.target/powerpc/altivec-34.c:1:0:
error: AltiVec and E500 instructions cannot coexist

Cheers,
Kyle Moffett

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/50988] gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets
  2011-11-03 20:31 [Bug testsuite/50988] New: gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets Kyle.D.Moffett at boeing dot com
@ 2011-11-03 20:44 ` Kyle.D.Moffett at boeing dot com
  2011-12-28 22:31 ` [Bug testsuite/50988] gcc.target/powerpc/*: Several tests fail incorrectly on powerpc-linux-gnuspe meissner at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: Kyle.D.Moffett at boeing dot com @ 2011-11-03 20:44 UTC (permalink / raw)
  To: gcc-bugs

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/


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/50988] gcc.target/powerpc/*: Several tests fail incorrectly on powerpc-linux-gnuspe
  2011-11-03 20:31 [Bug testsuite/50988] New: gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets Kyle.D.Moffett at boeing dot com
  2011-11-03 20:44 ` [Bug testsuite/50988] " Kyle.D.Moffett at boeing dot com
@ 2011-12-28 22:31 ` meissner at gcc dot gnu.org
  2011-12-28 22:32 ` meissner at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: meissner at gcc dot gnu.org @ 2011-12-28 22:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Michael Meissner <meissner at gcc dot gnu.org> 2011-12-28 22:30:22 UTC ---
Created attachment 26197
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26197
Proposed patch

Please check this patch on the spe compiler.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/50988] gcc.target/powerpc/*: Several tests fail incorrectly on powerpc-linux-gnuspe
  2011-11-03 20:31 [Bug testsuite/50988] New: gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets Kyle.D.Moffett at boeing dot com
  2011-11-03 20:44 ` [Bug testsuite/50988] " Kyle.D.Moffett at boeing dot com
  2011-12-28 22:31 ` [Bug testsuite/50988] gcc.target/powerpc/*: Several tests fail incorrectly on powerpc-linux-gnuspe meissner at gcc dot gnu.org
@ 2011-12-28 22:32 ` meissner at gcc dot gnu.org
  2011-12-28 22:40 ` meissner at gcc dot gnu.org
  2011-12-29 19:20 ` meissner at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: meissner at gcc dot gnu.org @ 2011-12-28 22:32 UTC (permalink / raw)
  To: gcc-bugs

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

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-12-28
                 CC|                            |meissner at gcc dot gnu.org
         AssignedTo|unassigned at gcc dot       |meissner at gcc dot gnu.org
                   |gnu.org                     |
     Ever Confirmed|0                           |1


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/50988] gcc.target/powerpc/*: Several tests fail incorrectly on powerpc-linux-gnuspe
  2011-11-03 20:31 [Bug testsuite/50988] New: gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets Kyle.D.Moffett at boeing dot com
                   ` (2 preceding siblings ...)
  2011-12-28 22:32 ` meissner at gcc dot gnu.org
@ 2011-12-28 22:40 ` meissner at gcc dot gnu.org
  2011-12-29 19:20 ` meissner at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: meissner at gcc dot gnu.org @ 2011-12-28 22:40 UTC (permalink / raw)
  To: gcc-bugs

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

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING

--- Comment #3 from Michael Meissner <meissner at gcc dot gnu.org> 2011-12-28 22:32:41 UTC ---
Klye, could you check this patch on your SPE compiler before I check it in?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug testsuite/50988] gcc.target/powerpc/*: Several tests fail incorrectly on powerpc-linux-gnuspe
  2011-11-03 20:31 [Bug testsuite/50988] New: gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets Kyle.D.Moffett at boeing dot com
                   ` (3 preceding siblings ...)
  2011-12-28 22:40 ` meissner at gcc dot gnu.org
@ 2011-12-29 19:20 ` meissner at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: meissner at gcc dot gnu.org @ 2011-12-29 19:20 UTC (permalink / raw)
  To: gcc-bugs

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

Michael Meissner <meissner at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |FIXED

--- Comment #4 from Michael Meissner <meissner at gcc dot gnu.org> 2011-12-29 19:01:40 UTC ---
I decided to go ahead, and just commit the changes.  Reopen the bug if it does
not fix it for your system.  Change committed in subversion id 182728.


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-12-29 19:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-03 20:31 [Bug testsuite/50988] New: gcc.target/powerpc/altivec-34.c: Test build failure on non-AltiVec targets Kyle.D.Moffett at boeing dot com
2011-11-03 20:44 ` [Bug testsuite/50988] " Kyle.D.Moffett at boeing dot com
2011-12-28 22:31 ` [Bug testsuite/50988] gcc.target/powerpc/*: Several tests fail incorrectly on powerpc-linux-gnuspe meissner at gcc dot gnu.org
2011-12-28 22:32 ` meissner at gcc dot gnu.org
2011-12-28 22:40 ` meissner at gcc dot gnu.org
2011-12-29 19:20 ` meissner at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).