i386: Emulate MMX mmx_pmaddwd with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:08:04 +0000 (15:08 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:08:04 +0000 (08:08 -0700)
commitd0e9bf2a6db4df95b776c5bcd728f0e159116659
treece6b5556c5b88e16295926c8b585e52c897b7af8
parent3fdce4b1ef47f305cd90e62905b4adc8a13a73c5
i386: Emulate MMX mmx_pmaddwd with SSE

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

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

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