https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78390
--- Comment #25 from Dominik Vogt <vogt at linux dot vnet.ibm.com> --- A quick regression test with both patches; s390x with just -m64 and -languages=c has only two failures left: +FAIL: gcc.target/s390/risbg-ll-1.c scan-assembler f43:\\n\\trisbg\\t%r2,%r2,32,128\\\\+61,64-12 +FAIL: gcc.target/s390/risbg-ll-2.c scan-assembler f9:\\n\\trisbg\\t%r3,%r2,48,63,64-48 This is probably not a bug in the patch, its just that the patterns for the RISBG instruction are very sensitive to any change in rtl. Maybe you'd like to have a quick look aat those two tests to verify they are not cause by an obivous bug. If that's not the case I can take over fixing them - I'm working on related patterns anyway, and they're awful to understand.