Patchwork Tweak vectorizer testcases for some 64-bit targets

login
register
mail settings
Submitter Eric Botcazou
Date Jan. 10, 2011, 12:09 p.m.
Message ID <201101101309.58024.ebotcazou@adacore.com>
Download mbox | patch
Permalink /patch/78133/
State New
Headers show

Comments

Eric Botcazou - Jan. 10, 2011, 12:09 p.m.
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.

Patch

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" } } */