[patch] Update gcc.dg/vect/vect-21.c
Ira Rosen
ira.rosen@linaro.org
Mon Oct 17 09:57:00 GMT 2011
Hi,
With Jakub's patch for bool types the 3 loops in gcc.dg/vect/vect-21.c
are now vectorizable on targets that support vector conditions.
Tested on powerpc64-suse-linux.
Committed.
Ira
testsuite/ChangeLog:
* gcc.dg/vect/vect-21.c: Expect the loops to get vectorized on
targets that support vector condition.
Index: testsuite/gcc.dg/vect/vect-21.c
===================================================================
--- testsuite/gcc.dg/vect/vect-21.c (revision 180075)
+++ testsuite/gcc.dg/vect/vect-21.c (working copy)
@@ -123,7 +123,7 @@ int main (void)
return main1 ();
}
-/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" {
xfail *-*-* } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" {
target vect_condition } } } */
/* { dg-final { scan-tree-dump-times "Vectorizing an unaligned
access" 0 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
More information about the Gcc-patches
mailing list