i386: Emulate MMX mulv4hi3 with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:06:28 +0000 (15:06 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:06:28 +0000 (08:06 -0700)
commit08266db93f51f2bf4fe3a211c2f9f4bf1875f725
tree9a9380495ed49dcb51611f7221c54ab6f4785ac0
parent1f0dc22ab5f61ed6b91118f946879dac3e7c9a67
i386: Emulate MMX mulv4hi3 with SSE

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

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

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