This is the mail archive of the gcc-patches@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]

XFAIL a few more vectorization tests on SPARC 32-bit


They fail because loops cannot be vectorized due to the lack of arithmetic 
operations for V8QI.  They pass on SPARC 64-bit because the operations are 
transformed to use the word mode.

Tested on SPARC/Solaris 9, SPARC64/Solaris 10 and x86/Linux, applied on the 
mainline and 4.4 branch.


2009-11-10  Eric Botcazou  <ebotcazou@adacore.com>

	* gcc.dg/vect/vect-multitypes-5.c: XFAIL on SPARC 32-bit.
	* gcc.dg/vect/vect-multitypes-6.c: Likewise.
	* gcc.dg/vect/vect-multitypes-12.c: Likewise.
	* gcc.dg/vect/slp-multitypes-3.c: Likewise.


-- 
Eric Botcazou
Index: gcc.dg/vect/vect-multitypes-5.c
===================================================================
--- gcc.dg/vect/vect-multitypes-5.c	(revision 154059)
+++ gcc.dg/vect/vect-multitypes-5.c	(working copy)
@@ -48,6 +48,6 @@ int main (void)
   return main1 ();
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { sparc*-*-* && ilp32 } } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
 
Index: gcc.dg/vect/vect-multitypes-6.c
===================================================================
--- gcc.dg/vect/vect-multitypes-6.c	(revision 154059)
+++ gcc.dg/vect/vect-multitypes-6.c	(working copy)
@@ -59,7 +59,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { sparc*-*-* && ilp32 } }} } */
 /*  { dg-final { scan-tree-dump-times "Alignment of access forced using versioning" 6 "vect" { target vect_no_align } } } */
 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 6 "vect" {xfail { vect_no_align } } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
Index: gcc.dg/vect/slp-multitypes-3.c
===================================================================
--- gcc.dg/vect/slp-multitypes-3.c	(revision 154059)
+++ gcc.dg/vect/slp-multitypes-3.c	(working copy)
@@ -88,7 +88,7 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect"  } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { sparc*-*-* && ilp32 } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { xfail { sparc*-*-* && ilp32 } }} } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
   
Index: gcc.dg/vect/vect-multitypes-12.c
===================================================================
--- gcc.dg/vect/vect-multitypes-12.c	(revision 154059)
+++ gcc.dg/vect/vect-multitypes-12.c	(working copy)
@@ -39,6 +39,6 @@ int main (void)
 }
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 2 "vect" { target vect_unpack } } } */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! vect_unpack } } } } */
+/* { dg-final { if [ istarget sparc*-*-* ] { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail ilp32 } } else { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { ! vect_unpack } } } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
 

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