aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2021-04-21 08:27:29 +0200
committerStefan Schulze Frielinghaus <stefansf@linux.ibm.com>2021-04-21 08:27:29 +0200
commitcb60e56d4ac2958c422c003221ca0cff6a537e0b (patch)
tree0c238b09933a52478a0b7e7112922bfa39b4afd9
parentea7b1cf534a7a653e1221bcd9004c2d0f5418e88 (diff)
downloadgcc-cb60e56d4ac2958c422c003221ca0cff6a537e0b.zip
gcc-cb60e56d4ac2958c422c003221ca0cff6a537e0b.tar.gz
gcc-cb60e56d4ac2958c422c003221ca0cff6a537e0b.tar.bz2
testsuite: Fix gcc.dg/vect/bb-slp-39.c on IBM Z
On IBM Z the aliasing stores are realized through one element vector instructions, if no cost model for vectorization is used which is the default according to vect.exp. Fixed by changing the number of times the pattern must be found in the dump. gcc/testsuite/ChangeLog: * gcc.dg/vect/bb-slp-39.c: Change number of times the pattern must match for target IBM Z only.
-rw-r--r--gcc/testsuite/gcc.dg/vect/bb-slp-39.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-39.c b/gcc/testsuite/gcc.dg/vect/bb-slp-39.c
index 255bb10..ee596cf 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-39.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-39.c
@@ -16,4 +16,5 @@ void foo (double *p)
}
/* See that we vectorize three SLP instances. */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 3 "slp2" } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 3 "slp2" { target { ! s390*-*-* } } } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 5 "slp2" { target { s390*-*-* } } } } */