]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Emulate MMX ashr<mode>3/<shift_insn><mode>3 with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:08:38 +0000 (15:08 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:08:38 +0000 (08:08 -0700)
commit5d48867be5b9fa92d3c171418eb5d46f2ad6d640
tree225f5d9da0373c5a46fb5a8e5009a8ae5eff5dc1
parentd0e9bf2a6db4df95b776c5bcd728f0e159116659
i386: Emulate MMX ashr<mode>3/<shift_insn><mode>3 with SSE

Emulate MMX ashr<mode>3/<shift_insn><mode>3 with SSE.  Only SSE register
source operand is allowed.

PR target/89021
* config/i386/mmx.md (mmx_ashr<mode>3): Also allow
TARGET_MMX_WITH_SSE.  Add SSE emulation.
(mmx_<shift_insn><mode>3): Likewise.
(ashr<mode>3): New.
(<shift_insn><mode>3): Likewise.

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