diff options
author | Robin Dapp <rdapp@linux.ibm.com> | 2021-05-11 09:50:44 +0200 |
---|---|---|
committer | Robin Dapp <rdapp@linux.ibm.com> | 2021-05-11 09:50:44 +0200 |
commit | cf43636a74a028daf2024b33d1915274a2ff9655 (patch) | |
tree | 45dc47d47205d0d448fe1d100063d26116894855 /gcc | |
parent | 15e6b45c9ad5fcbbf8dab480764cf77ef995430d (diff) | |
download | gcc-cf43636a74a028daf2024b33d1915274a2ff9655.zip gcc-cf43636a74a028daf2024b33d1915274a2ff9655.tar.gz gcc-cf43636a74a028daf2024b33d1915274a2ff9655.tar.bz2 |
testsuite/s390: Fix risbg-ll-3.c f2_cconly test.
Instead of selecting bits 62 to (wraparound) 59 from r2 and inserting them
into r3, we select bits 60 to 62 from r3 and insert them into r2
nowadays. Adjust the test accordingly.
gcc/testsuite/ChangeLog:
* gcc.target/s390/risbg-ll-3.c: Change match pattern.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.target/s390/risbg-ll-3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/s390/risbg-ll-3.c b/gcc/testsuite/gcc.target/s390/risbg-ll-3.c index 90d37f2..864b0d6 100644 --- a/gcc/testsuite/gcc.target/s390/risbg-ll-3.c +++ b/gcc/testsuite/gcc.target/s390/risbg-ll-3.c @@ -37,7 +37,7 @@ i64 f2 (i64 v_a, i64 v_b) void f2_bar (); void f2_cconly (i64 v_a, i64 v_b) { -/* { dg-final { scan-assembler "f2_cconly:\n\trisbg\t%r3,%r2,63,59,0\n\tber\t%r14\n\tjg\tf2_bar\n" { target { lp64 } } } } */ +/* { dg-final { scan-assembler "f2_cconly:\n\trisbg\t%r2,%r3,60,62,0\n\tber\t%r14\n\tjg\tf2_bar\n" { target { lp64 } } } } */ /* { dg-final { scan-assembler "f2_cconly:\n\trisbgn\t%r3,%r2,0,0\\\+32-1,64-0-32\n\trisbg\t%r3,%r5,60,62,0\n\tber\t%r14\n\tjg\tf2_bar\n" { target { ! lp64 } } } } */ if ((v_a & -15) | (v_b & 14)) f2_bar(); |