public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [patch, testsuite] Fixed generic vectorization testcase for Cell SPU
@ 2008-06-22  9:13 Ira Rosen
  2008-06-22  9:48 ` Andrew Pinski
  0 siblings, 1 reply; 9+ messages in thread
From: Ira Rosen @ 2008-06-22  9:13 UTC (permalink / raw)
  To: gcc-patches


Hi,

gcc.dg/tree-ssa/gen-vect-11c.c, as well as other gen-vect-* testcases,
needs to be ran without SIMD extension, which is impossible on SPU.
Therefore, the loop in this testcase gets vectorized (using regular
vectorization) and the test fails. This patch adds xfail for SPU to the
testcase.

Tested on Cell SPU. O.K. for 4.3.2 and mainline?

Thanks,
Ira

ChangeLog:

      * gcc.dg/tree-ssa/gen-vect-11c.c: Vectorizable on Cell SPU.

Index: testsuite/gcc.dg/tree-ssa/gen-vect-11c.c
===================================================================
--- testsuite/gcc.dg/tree-ssa/gen-vect-11c.c    (revision 136939)
+++ testsuite/gcc.dg/tree-ssa/gen-vect-11c.c    (working copy)
@@ -36,5 +36,5 @@ int main ()
 }


-/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" { xfail
spu-*-* } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: [patch, testsuite] Fixed generic vectorization testcase for Cell  SPU
@ 2008-06-22 16:20 Andy H
  2008-06-22 16:24 ` Andrew Pinski
  0 siblings, 1 reply; 9+ messages in thread
From: Andy H @ 2008-06-22 16:20 UTC (permalink / raw)
  To: gcc-patches, joseph

I have same problem due to completely opposite reason.

http://gcc.gnu.org/ml/gcc/2008-06/msg00541.html

Should I use same?


Andy



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

end of thread, other threads:[~2008-06-26  6:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-22  9:13 [patch, testsuite] Fixed generic vectorization testcase for Cell SPU Ira Rosen
2008-06-22  9:48 ` Andrew Pinski
2008-06-22 10:37   ` Ira Rosen
2008-06-22 11:30     ` Joseph S. Myers
2008-06-22 11:34       ` Ira Rosen
2008-06-26  8:49         ` Ira Rosen
2008-06-22 16:20 Andy H
2008-06-22 16:24 ` Andrew Pinski
2008-06-22 16:34   ` Andy H

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).