i386: Emulate MMX <any_logic><mode>3 with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:09:19 +0000 (15:09 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:09:19 +0000 (08:09 -0700)
commitfff6304f52e3dc48b2e26683e1260fda977cbd86
treef001ead8a79152388a4b01400a52cf7743b682a5
parent5d48867be5b9fa92d3c171418eb5d46f2ad6d640
i386: Emulate MMX <any_logic><mode>3 with SSE

Emulate MMX <any_logic><mode>3 with SSE.  Only SSE register source
operand is allowed.

PR target/89021
* config/i386/mmx.md (any_logic:mmx_<code><mode>3): Also allow
TARGET_MMX_WITH_SSE.
(any_logic:<code><mode>3): New.
(any_logic:*mmx_<code><mode>3): Also allow TARGET_MMX_WITH_SSE.
Add SSE support.

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