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]

Tweak vectorizer testcases for some 64-bit targets


For quite some time a couple of vectorizer testcases XPASS for 64-bit targets 
like IA-64 and SPARC64:
  http://gcc.gnu.org/ml/gcc-testresults/2011-01/msg00535.html
  http://gcc.gnu.org/ml/gcc-testresults/2011-01/msg00728.html
because they are vectorized using the word mode.

Tested on SPARC/Solaris 32-bit and 64-bit, applied on the mainline as obvious.


2011-01-10  Eric Botcazou  <ebotcazou@adacore.com>

	PR testsuite/46230
	* gcc.dg/vect/pr33804.c: XFAIL only for ilp32.
	* gcc.dg/vect/slp-24.c: Likewise.


-- 
Eric Botcazou
Index: gcc.dg/vect/pr33804.c
===================================================================
--- gcc.dg/vect/pr33804.c	(revision 168594)
+++ gcc.dg/vect/pr33804.c	(working copy)
@@ -11,7 +11,6 @@ void f(unsigned char *s, unsigned char *
     }
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" {xfail vect_no_align } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" {xfail vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail  { vect_no_align && ilp32 } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { xfail { vect_no_align && ilp32 } } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
-
Index: gcc.dg/vect/slp-24.c
===================================================================
--- gcc.dg/vect/slp-24.c	(revision 168594)
+++ gcc.dg/vect/slp-24.c	(working copy)
@@ -77,6 +77,6 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail vect_no_align } } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { xfail vect_no_align } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { xfail { vect_no_align && ilp32 } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" { xfail { vect_no_align && ilp32 } } } } */
 /* { 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]