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
This commit is contained in:
Andreas Krebbel 2015-11-30 13:24:51 +00:00 committed by Andreas Krebbel
parent 804101ae8b
commit 02718b323b
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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];