https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89021
--- Comment #18 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> --- Author: hjl Date: Wed May 15 15:11:41 2019 New Revision: 271226 URL: https://gcc.gnu.org/viewcvs?rev=271226&root=gcc&view=rev Log: i386: Emulate MMX pshufw with SSE Emulate MMX pshufw with SSE. Only SSE register source operand is allowed. PR target/89021 * config/i386/mmx.md (mmx_pshufw): Also check TARGET_MMX and TARGET_MMX_WITH_SSE. (mmx_pshufw_1): Add SSE emulation. (*vec_dupv4hi): Changed to define_insn_and_split and also allow TARGET_MMX_WITH_SSE to support SSE emulation. Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/mmx.md