diff options
author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2017-02-01 22:11:57 +0000 |
---|---|---|
committer | William Schmidt <wschmidt@gcc.gnu.org> | 2017-02-01 22:11:57 +0000 |
commit | e26b502d9bf55307c51a2cd93ec7cbfd1c9a8324 (patch) | |
tree | 902369ad86bc773bd734f75eabc5487de09c6e2e | |
parent | 60ab85958c4a6ae86ef8d8675a0fbe348602357b (diff) | |
download | gcc-e26b502d9bf55307c51a2cd93ec7cbfd1c9a8324.zip gcc-e26b502d9bf55307c51a2cd93ec7cbfd1c9a8324.tar.gz gcc-e26b502d9bf55307c51a2cd93ec7cbfd1c9a8324.tar.bz2 |
re PR target/70012 (test case gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c fails)
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
-rw-r--r-- | gcc/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c | 11 |
2 files changed, 14 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8ac884c..76f22e3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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 diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c index e0764f8..c3db87d 100644 --- a/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c +++ b/gcc/testsuite/gcc.dg/vect/costmodel/ppc/costmodel-vect-33.c @@ -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 } } } } } */ |