diff mbox

Fix gcc.dg/vect/vect-114.c (PR 50746)

Message ID CAKSNEw6-wGHt5sX6ARiQuELHpW6T7oeznTmy0zKQp3z+Ty+ODw@mail.gmail.com
State New
Headers show

Commit Message

Ira Rosen Oct. 17, 2011, 7:03 p.m. UTC
Hi,

vect-114.c doesn't have misaligned accesses, so there is no need in
vect_hw_misalign.

Tested on powerpc64-suse-linux.
Committed.

Ira

testsuite/ChangeLog:

        PR tree-optimization/50746
        * gcc.dg/vect/vect-114.c: Remove vect_hw_misalign.

+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" {
target vect_perm } } } */
 /* { dg-final { cleanup-tree-dump "vect" } } */
diff mbox

Patch

Index: testsuite/gcc.dg/vect/vect-114.c
===================================================================
--- testsuite/gcc.dg/vect/vect-114.c    (revision 180104)
+++ testsuite/gcc.dg/vect/vect-114.c    (working copy)
@@ -34,7 +34,7 @@  int main (void)
   return main1 ();
 }

-/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" {
target { ! { vect_perm && vect_hw_misalign } } } } } */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" {
target { vect_perm && vect_hw_misalign } } } } */
+/* { dg-final { scan-tree-dump-times "vectorized 0 loops" 1 "vect" {
target { ! { vect_perm  } } } } } */