diff mbox

[4/9] S/390: Adjust movstr-1.c testcase to work with the z13 stpcpy implementation.

Message ID 1455735092-1607-5-git-send-email-krebbel@linux.vnet.ibm.com
State New
Headers show

Commit Message

Andreas Krebbel Feb. 17, 2016, 6:51 p.m. UTC
2016-02-17  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>

	* gcc.target/s390/md/movstr-1.c: Allow also the z13 strings
	instruction pattern name to prevent the testcase from failing with
	-march=z13.
---
 gcc/testsuite/gcc.target/s390/md/movstr-1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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];