From: Andreas 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-Tag: basepoints/gcc-7~868 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e4eb6439435259b7cf5c7e2ea39d402f8028c7c;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. From-SVN: r233551 --- 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];