]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
testsuite/s390: Fix vperm-rev testcases.
authorRobin Dapp <rdapp@linux.ibm.com>
Wed, 31 Aug 2022 07:21:45 +0000 (09:21 +0200)
committerRobin Dapp <rdapp@linux.ibm.com>
Wed, 14 Sep 2022 11:21:10 +0000 (13:21 +0200)
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.

gcc/testsuite/gcc.target/s390/vector/vperm-rev-z14.c
gcc/testsuite/gcc.target/s390/vector/vperm-rev-z15.c

index 5c64fac4646c8cd78fe203db3ec70143d48dbfc1..eefacad45808dbb424c46df21005040667549454 100644 (file)
@@ -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 } } */
index bff52406fa9b022486e37b53e23543c5b61cdf96..079460b37e46849efae4a18f8cb90bb17c360ed0 100644 (file)
@@ -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>