re PR target/70012 (test case gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c fails)
authorBill Schmidt <wschmidt@linux.vnet.ibm.com>
Wed, 1 Feb 2017 22:11:57 +0000 (22:11 +0000)
committerWilliam Schmidt <wschmidt@gcc.gnu.org>
Wed, 1 Feb 2017 22:11:57 +0000 (22:11 +0000)
2017-02-01  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>

PR target/70012
* gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c: Adjust test
conditions.

From-SVN: r245108

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c

index 8ac884c683afe6f382d75c4704507d9305ee974d..76f22e3b7eaf1851e9e2c1d3d0e852d994d01eb0 100644 (file)
@@ -1,3 +1,9 @@
+2017-02-01  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       PR target/70012
+       * gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c: Adjust test
+       conditions.
+
 2017-02-01  Jakub Jelinek  <jakub@redhat.com>
 
        PR testsuite/79324
index e0764f877f69b2b8ebe8ffcb1c62c4ee19b492d8..c3db87d5988b425f88321dbaf558685648ff3d64 100644 (file)
@@ -36,7 +36,12 @@ int main (void)
 } 
 
 /* Peeling to align the store is used. Overhead of peeling is too high.  */
-/* { dg-final { scan-tree-dump-times "vectorization not profitable" 1 "vect" { target vector_alignment_reachable } } } */
+/* { dg-final { scan-tree-dump-times "vectorization not profitable" 1 "vect" { target { ! natural_alignment_32 } } } } */
 
-/* Versioning to align the store is used. Overhead of versioning is not too high.  */
-/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target {! vector_alignment_reachable} } } } */
+/* Vectorization occurs, either because overhead of versioning is not
+   too high, or because the hardware supports efficient unaligned accesses.  */
+/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { natural_alignment_32 } } } } */
+
+/* Versioning to align the store is used.  Overhead of versioning is not 
+   too high.  */
+/* { dg-final { scan-tree-dump-times "loop versioned for vectorization to enhance alignment" 1 "vect" { target { natural_alignment_32 && { ! vect_hw_misalign } } } } } */