Hi, adding -save-temps as well as a '\t' in order for the tests to do what they are supposed to do.
Going to push this as obvious in some days. Regards Robin -- gcc/testsuite/ChangeLog: * gcc.target/s390/vector/vperm-rev-z14.c: Add -save-temps. * gcc.target/s390/vector/vperm-rev-z15.c: Likewise. --- 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 5c64fac4646c..eefacad45808 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 bff52406fa9b..079460b37e46 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>