]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
S/390: Adjust movstr-1.c testcase to work with the z13 stpcpy implementation.
authorkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 19 Feb 2016 10:32:38 +0000 (10:32 +0000)
committerkrebbel <krebbel@138bc75d-0d04-0410-961f-82ee72b054a4>
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@233551 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 964d09301bb4fe2bf3c4f8193275424d53a58124..2c1567a4b66dd7b1ab14bb302b1bab6c4cfbf2b8 100644 (file)
@@ -1,3 +1,9 @@
+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.
index 7da749b988d002a1afe06ac6cccd2295834980b1..da984153dd0e53c59f4fe78f2a315c37ec3385f8 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];