From: Andreas Krebbel Date: Mon, 30 Nov 2015 13:24:51 +0000 (+0000) Subject: S/390: Testsuite: Add asm scan patterns for -m31. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=02718b323ba585f41a34e4202c9ca5ba1b3aa321;p=gcc.git S/390: Testsuite: Add asm scan patterns for -m31. gcc/testsuite/ChangeLog: 2015-11-30 Andreas Krebbel * gcc.target/s390/load-relative-check.c: Add scan patterns for -m31. From-SVN: r231071 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index f81c24fb8bb..546bc2e355e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-11-30 Andreas Krebbel + + * gcc.target/s390/load-relative-check.c: Add scan patterns for + -m31. + 2015-11-30 Andreas Krebbel * gcc.target/s390/load-relative-check.c: Add -mzarch. diff --git a/gcc/testsuite/gcc.target/s390/load-relative-check.c b/gcc/testsuite/gcc.target/s390/load-relative-check.c index 28eda0e3854..3d4671a6b3f 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];