S/390: Testsuite: Add asm scan patterns for -m31.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Mon, 30 Nov 2015 13:24:51 +0000 (13:24 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Mon, 30 Nov 2015 13:24:51 +0000 (13:24 +0000)
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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/load-relative-check.c

index f81c24fb8bb6fc8b6f455af0b7e127948254d8e1..546bc2e355e80490f905727f19d8b15281de5ce7 100644 (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.
index 28eda0e385485a1ea6725a579cd8e4e4ceab0a3e..3d4671a6b3f234f2ab930b8255face72eec966a6 100644 (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];