diff options
author | Andreas Krebbel <krebbel@linux.vnet.ibm.com> | 2015-11-30 13:24:51 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2015-11-30 13:24:51 +0000 |
commit | 02718b323ba585f41a34e4202c9ca5ba1b3aa321 (patch) | |
tree | b48fedf3c00e082b3cfcabfdae76922a2c812cba /gcc | |
parent | 804101ae8b93cd2db6b077ce641f7028fbcf69bc (diff) | |
download | gcc-02718b323ba585f41a34e4202c9ca5ba1b3aa321.zip gcc-02718b323ba585f41a34e4202c9ca5ba1b3aa321.tar.gz gcc-02718b323ba585f41a34e4202c9ca5ba1b3aa321.tar.bz2 |
S/390: Testsuite: Add asm scan patterns for -m31.
gcc/testsuite/ChangeLog:
2015-11-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
* gcc.target/s390/load-relative-check.c: Add scan patterns for
-m31.
From-SVN: r231071
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/s390/load-relative-check.c | 11 |
2 files changed, 12 insertions, 4 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f81c24f..546bc2e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2015-11-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com> + * gcc.target/s390/load-relative-check.c: Add scan patterns for + -m31. + +2015-11-30 Andreas Krebbel <krebbel@linux.vnet.ibm.com> + * gcc.target/s390/load-relative-check.c: Add -mzarch. 2015-11-30 Eric Botcazou <ebotcazou@adacore.com> diff --git a/gcc/testsuite/gcc.target/s390/load-relative-check.c b/gcc/testsuite/gcc.target/s390/load-relative-check.c index 28eda0e..3d4671a 100644 --- a/gcc/testsuite/gcc.target/s390/load-relative-check.c +++ b/gcc/testsuite/gcc.target/s390/load-relative-check.c @@ -2,10 +2,13 @@ /* { dg-do compile { target { s390*-*-* } } } */ /* { dg-options "-O2 -march=z10 -mzarch" } */ -/* { dg-final { scan-assembler "lgfrl\t%r.?,b.4" } } */ -/* { dg-final { scan-assembler "lgfrl\t%r.?,s.12" } } */ -/* { dg-final { scan-assembler "lgrl\t%r.?,s" } } */ -/* { dg-final { scan-assembler "larl\t%r.?,.L.?" } } */ +/* { dg-final { scan-assembler "lgfrl\t%r.?,b.4" { target { lp64 } } } } */ +/* { dg-final { scan-assembler "lgfrl\t%r.?,s.12" { target { lp64 } } } } */ +/* { dg-final { scan-assembler "lgrl\t%r.?,s" { target { lp64 } } } } */ + +/* { dg-final { scan-assembler "lrl\t%r.?,b.4" { target { ! lp64 } } } } */ +/* { dg-final { scan-assembler "lrl\t%r.?,s.8" { target { ! lp64 } } } } */ +/* { dg-final { scan-assembler "lrl\t%r.?,s" { target { ! lp64 } } } } */ int b[20]; |