diff options
author | Robin Dapp <rdapp@linux.ibm.com> | 2022-08-31 09:21:45 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@linux.ibm.com> | 2022-09-14 13:21:10 +0200 |
commit | 48970cbaed5d16db286db001538429d8de4d8bae (patch) | |
tree | 51dbc0fa549ac8c7450fdbc25d563df6412629b3 /gcc/testsuite/gcc.target | |
parent | 645ef01a463f15fc230e2155719c7a12cec89acf (diff) | |
download | gcc-48970cbaed5d16db286db001538429d8de4d8bae.zip gcc-48970cbaed5d16db286db001538429d8de4d8bae.tar.gz gcc-48970cbaed5d16db286db001538429d8de4d8bae.tar.bz2 |
testsuite/s390: Fix vperm-rev testcases.
Add -save-temps and tabs for matching.
gcc/testsuite/ChangeLog:
* gcc.target/s390/vector/vperm-rev-z14.c: Add -save-temps.
* gcc.target/s390/vector/vperm-rev-z15.c: Likewise.
Diffstat (limited to 'gcc/testsuite/gcc.target')
-rw-r--r-- | gcc/testsuite/gcc.target/s390/vector/vperm-rev-z14.c | 2 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/s390/vector/vperm-rev-z15.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z14.c b/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z14.c index 5c64fac..eefacad 100644 --- a/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z14.c +++ b/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z14.c @@ -1,7 +1,7 @@ /* Make sure that the reverse permute patterns are optimized correctly. */ /* { dg-do run { target { s390*-*-* } } } */ -/* { dg-options "-O2 -march=z14 -mzarch -fno-unroll-loops" } */ +/* { dg-options "-O2 -march=z14 -mzarch -fno-unroll-loops -save-temps" } */ /* { dg-final { scan-assembler-times "vpdi\t" 4 } } */ /* { dg-final { scan-assembler-times "verllg\t" 2 } } */ diff --git a/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z15.c b/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z15.c index bff5240..079460b 100644 --- a/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z15.c +++ b/gcc/testsuite/gcc.target/s390/vector/vperm-rev-z15.c @@ -1,12 +1,12 @@ /* Make sure that the reverse permute patterns are optimized correctly. */ /* { dg-do run { target { s390*-*-* } } } */ -/* { dg-options "-O2 -march=z15 -mzarch -fno-unroll-loops" } */ +/* { dg-options "-O2 -march=z15 -mzarch -fno-unroll-loops -save-temps" } */ /* { dg-final { scan-assembler-times "vsterg\t" 2 } } */ -/* { dg-final { scan-assembler-times "vsterf" 2 } } */ +/* { dg-final { scan-assembler-times "vsterf\t" 2 } } */ /* { dg-final { scan-assembler-times "vstbrq\t" 1 } } */ -/* { dg-final { scan-assembler-times "vperm" 0 } } */ +/* { dg-final { scan-assembler-times "vperm\t" 0 } } */ #include <assert.h> |