i386: Emulate MMX mmx_uavgv4hi3 with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:19:55 +0000 (15:19 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:19:55 +0000 (08:19 -0700)
commitd9d6e621ff522a0bdcfac90f8e9bda1a8b9f4577
tree0aaf66679fd7ac7b07faf41dfcdaa79bf0bfe9d0
parenta899fa35017a572cfd343c199a355687a3282d92
i386: Emulate MMX mmx_uavgv4hi3 with SSE

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

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

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