This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Fix gcc.dg/vect/vect-cselim-1.c - PR target/48287
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 25 Mar 2011 19:10:09 +0300
- Subject: [patch] Fix gcc.dg/vect/vect-cselim-1.c - PR target/48287
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" } } */