[patch] Fix gcc.dg/vect/vect-cselim-1.c - PR target/48287
Ira Rosen
IRAR@il.ibm.com
Fri Mar 25 16:10:00 GMT 2011
Hi,
gcc.dg/vect/vect-cselim-1.c contains misaligned loads and is therefore not
vectorizable on targets that don't support misaligned data accesses. This
patch adds an xfail for such targets.
Tested on powerpc64-suse-linux, and tested by Rainer on
sparc-sun-solaris2.10.
Committed as obvious.
Ira
testsuite/ChangeLog
PR target/48287
* gcc.dg/vect/vect-cselim-1.c: Fail for vect_no_align.
Index: vect-cselim-1.c
===================================================================
--- vect-cselim-1.c (revision 171381)
+++ vect-cselim-1.c (working copy)
@@ -82,5 +82,5 @@
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 vect_no_align } } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
More information about the Gcc-patches
mailing list