https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89229
--- Comment #14 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Comment on attachment 45685 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45685 I am testing this The movsi change doesn't look entirely right to me. While OImode or TImode is not allowed in ext sse regs unless AVX512VL, that is not the case for SImode, so for SImode if one or both operands are ext sse regs and !TARGET_AVX512VL, we need to use MODE_XI and use the pattern with %g1, %g0 in there.