S/390: Adjust movstr-1.c testcase to work with the z13 stpcpy implementation.
authorAndreas Krebbel <krebbel@linux.vnet.ibm.com>
Fri, 19 Feb 2016 10:32:38 +0000 (10:32 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Fri, 19 Feb 2016 10:32:38 +0000 (10:32 +0000)
2016-02-19  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.

From-SVN: r233551

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/s390/md/movstr-1.c

index 964d093..2c1567a 100644 (file)
@@ -1,5 +1,11 @@
 2016-02-19  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.
+
+2016-02-19  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
+
        * gcc.target/s390/md/movstr-2.c: New test.
 
 2016-02-19  Marcin Koƛcielnicki  <koriakin@0x04.net>
index 7da749b..da98415 100644 (file)
@@ -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];