i386: Emulate MMX mmx_uavgv8qi3 with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:19:19 +0000 (15:19 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:19:19 +0000 (08:19 -0700)
commita899fa35017a572cfd343c199a355687a3282d92
tree95d87d0925fbe82e260677b352c6402d48956e94
parent55cd237908dcfa48ef12b4f7cd9e41f154139bd2
i386: Emulate MMX mmx_uavgv8qi3 with SSE

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

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

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