aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeff Law <jeffreyalaw@gmail.com>2022-03-20 17:29:29 -0400
committerJeff Law <jeffreyalaw@gmail.com>2022-03-20 17:29:29 -0400
commit6f30c4cd38b8385d62358065d795df590e752d6e (patch)
tree06df20d13838730326061d93215e4c200396f9da /gcc
parentd7f00da1c0ed414175305c41a07b3a50fa577cce (diff)
downloadgcc-6f30c4cd38b8385d62358065d795df590e752d6e.zip
gcc-6f30c4cd38b8385d62358065d795df590e752d6e.tar.gz
gcc-6f30c4cd38b8385d62358065d795df590e752d6e.tar.bz2
Fix testsuite fallout from pr104960 change
Recent changes twiddled the output for s390/arch13/sel-1.c causing testsuite failures. As far as I can tell both sequences are equivalent from a performance standpoint. This patch changes the test to accept both forms. gcc/testsuite * gcc.target/s390/arch13/sel-1.c: Adjust expected output.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/s390/arch13/sel-1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/s390/arch13/sel-1.c b/gcc/testsuite/gcc.target/s390/arch13/sel-1.c
index 301a133..52ca078 100644
--- a/gcc/testsuite/gcc.target/s390/arch13/sel-1.c
+++ b/gcc/testsuite/gcc.target/s390/arch13/sel-1.c
@@ -10,7 +10,7 @@ sel32 (int a, int then, int els)
too expensive. THe reason is that additional load instructions
emitted by ifcvt are part of the costs although these should get
removed later. */
-/* { dg-final { scan-assembler-times "\tselrh\t" 1 } } */
+/* { dg-final { scan-assembler-times "\tselr(?:h|le)\t" 1 } } */
long long
sel64 (int a, long long then, long long els)
@@ -18,4 +18,4 @@ sel64 (int a, long long then, long long els)
return a > 42 ? then : els;
}
-/* { dg-final { scan-assembler-times "\tselgrh\t" 1 } } */
+/* { dg-final { scan-assembler-times "\tselgr(?:h|le)\t" 1 } } */