From: krebbel Date: Fri, 19 Feb 2016 10:32:38 +0000 (+0000) Subject: S/390: Adjust movstr-1.c testcase to work with the z13 stpcpy implementation. X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b11e60a405287b793234c343f3bc9756aa351942;p=thirdparty%2Fgcc.git S/390: Adjust movstr-1.c testcase to work with the z13 stpcpy implementation. 2016-02-19 Andreas Krebbel * gcc.target/s390/md/movstr-1.c: Allow also the z13 strings instruction pattern name to prevent the testcase from failing with -march=z13. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233551 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 964d09301bb4..2c1567a4b66d 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2016-02-19 Andreas Krebbel + + * gcc.target/s390/md/movstr-1.c: Allow also the z13 strings + instruction pattern name to prevent the testcase from failing with + -march=z13. + 2016-02-19 Andreas Krebbel * gcc.target/s390/md/movstr-2.c: New test. diff --git a/gcc/testsuite/gcc.target/s390/md/movstr-1.c b/gcc/testsuite/gcc.target/s390/md/movstr-1.c index 7da749b988d0..da984153dd0e 100644 --- a/gcc/testsuite/gcc.target/s390/md/movstr-1.c +++ b/gcc/testsuite/gcc.target/s390/md/movstr-1.c @@ -9,7 +9,7 @@ void test(char *dest, const char *src) __builtin_stpcpy (dest, src); } -/* { dg-final { scan-assembler-times {{[*]movstr}} 1 } } */ +/* { dg-final { scan-assembler-times {{[*]movstr}|{vec_vfenesv16qi}} 1 } } */ #define LEN 200 char buf[LEN];