i386: Emulate MMX smulv4hi3_highpart with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:07:04 +0000 (15:07 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:07:04 +0000 (08:07 -0700)
commit3fdce4b1ef47f305cd90e62905b4adc8a13a73c5
tree23a0b96d6f4cbed6e46cc2c64e7c818a13bc1d64
parent08266db93f51f2bf4fe3a211c2f9f4bf1875f725
i386: Emulate MMX smulv4hi3_highpart with SSE

Emulate MMX mulv4hi3 with SSE.  Only SSE register source operand is
allowed.

PR target/89021
* config/i386/mmx.md (mmx_smulv4hi3_highpart): Also allow
TARGET_MMX_WITH_SSE.
(*mmx_smulv4hi3_highpart): Also allow TARGET_MMX_WITH_SSE. Add
SSE support.

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