https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118696

--- Comment #6 from Stefan Schulze Frielinghaus <stefansf at gcc dot gnu.org> 
---
Patch LGTM and I started a bootstrap+regtest which will finish approximately in
4 hours.  Sorry for the hassle and thanks for fixing this so quickly!

I think what is missing is to adapt the existing tests:

diff --git a/gcc/testsuite/gcc.target/s390/vector/vec-abs-emu.c
b/gcc/testsuite/gcc.target/s390/vector/vec-abs-emu.c
index 8c1038a13d7..e0dd222e62c 100644
--- a/gcc/testsuite/gcc.target/s390/vector/vec-abs-emu.c
+++ b/gcc/testsuite/gcc.target/s390/vector/vec-abs-emu.c
@@ -18,7 +18,7 @@ typedef __attribute__ ((vector_size (16))) signed __int128
v1ti;
 **     vchg    %v[0-9]+,%v[0-9]+,%v[0-9]+
 **     vn      %v[0-9]+,%v[0-9]+,%v[0-9]+
 **     vo      %v[0-9]+,%v[0-9]+,%v[0-9]+
-**     vrepg   %v[0-9]+,%v[0-9]+,1
+**     vrepg   %v[0-9]+,%v[0-9]+,0
 **     vsq     %v[0-9]+,%v[0-9]+,%v[0-9]+
 **     vsel    %v[0-9]+,%v[0-9]+,%v[0-9]+,%v[0-9]+
 **     br      %r14
diff --git a/gcc/testsuite/gcc.target/s390/vector/vec-max-emu.c
b/gcc/testsuite/gcc.target/s390/vector/vec-max-emu.c
index 1c4451b19c1..12c7e76edc1 100644
--- a/gcc/testsuite/gcc.target/s390/vector/vec-max-emu.c
+++ b/gcc/testsuite/gcc.target/s390/vector/vec-max-emu.c
@@ -17,7 +17,7 @@ typedef __attribute__ ((vector_size (16))) signed __int128
v1ti;
 **     vchg    %v[0-9]+,%v[0-9]+,%v[0-9]+
 **     vn      %v[0-9]+,%v[0-9]+,%v[0-9]+
 **     vo      %v[0-9]+,%v[0-9]+,%v[0-9]+
-**     vrepg   %v[0-9]+,%v[0-9]+,1
+**     vrepg   %v[0-9]+,%v[0-9]+,0
 **     vsel    %v[0-9]+,%v[0-9]+,%v[0-9]+,%v[0-9]+
 **     br      %r14
 */
diff --git a/gcc/testsuite/gcc.target/s390/vector/vec-min-emu.c
b/gcc/testsuite/gcc.target/s390/vector/vec-min-emu.c
index 89f4dff542d..a9bcba39e22 100644
--- a/gcc/testsuite/gcc.target/s390/vector/vec-min-emu.c
+++ b/gcc/testsuite/gcc.target/s390/vector/vec-min-emu.c
@@ -17,7 +17,7 @@ typedef __attribute__ ((vector_size (16))) signed __int128
v1ti;
 **     vchg    %v[0-9]+,%v[0-9]+,%v[0-9]+
 **     vn      %v[0-9]+,%v[0-9]+,%v[0-9]+
 **     vo      %v[0-9]+,%v[0-9]+,%v[0-9]+
-**     vrepg   %v[0-9]+,%v[0-9]+,1
+**     vrepg   %v[0-9]+,%v[0-9]+,0
 **     vsel    %v[0-9]+,%v[0-9]+,%v[0-9]+,%v[0-9]+
 **     br      %r14
 */

Reply via email to