i386: Emulate MMX ssse3_pmulhrswv4hi3 with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:24:44 +0000 (15:24 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:24:44 +0000 (08:24 -0700)
commit9c5a35333444ae069556b59338b25550a84b5055
treed1237349c269b8dec61236bc32023593c64466b1
parent6cbd0ef53a491294c7c503b0bb4579f8a212b1f2
i386: Emulate MMX ssse3_pmulhrswv4hi3 with SSE

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

PR target/89021
* config/i386/sse.md (ssse3_pmulhrswv4hi3): Require TARGET_MMX
or TARGET_MMX_WITH_SSE.
(*ssse3_pmulhrswv4hi3): Add SSE emulation.

From-SVN: r271244
gcc/ChangeLog
gcc/config/i386/sse.md