i386: Emulate MMX mmx_pinsrw with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:14:03 +0000 (15:14 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:14:03 +0000 (08:14 -0700)
commit42500d835522f0858fb899b17d9b9ffb9efa71d9
treefe1f817015f1371ac33733ab17e84594d60708fe
parentf2c2a6fb1e5742d8dac7c906decb7764602d301c
i386: Emulate MMX mmx_pinsrw with SSE

Emulate MMX mmx_pinsrw with SSE.  Only SSE register destination operand
is allowed.

PR target/89021
* config/i386/mmx.md (mmx_pinsrw): Also check TARGET_MMX and
TARGET_MMX_WITH_SSE.
(*mmx_pinsrw): Add SSE emulation.

From-SVN: r271230
gcc/ChangeLog
gcc/config/i386/mmx.md