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: upstream/12.2.0~48740 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e4eb6439435259b7cf5c7e2ea39d402f8028c7c;p=platform%2Fupstream%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 964d093..2c1567a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,11 @@ 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. 2016-02-19 Marcin Kościelnicki diff --git a/gcc/testsuite/gcc.target/s390/md/movstr-1.c b/gcc/testsuite/gcc.target/s390/md/movstr-1.c index 7da749b..da98415 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];