i386: Emulate MMX ssse3_palignrdi with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:27:33 +0000 (15:27 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:27:33 +0000 (08:27 -0700)
commitd3838596c4efb830affe201ec2e6509674dedd02
tree01dc3ab9bf6e69a299008d36c627d3ec7915f16d
parente8b0e9104f2663a0d65cd65e7c4bd25c0b10514b
i386: Emulate MMX ssse3_palignrdi with SSE

Emulate MMX version of palignrq with SSE version by concatenating 2
64-bit MMX operands into a single 128-bit SSE operand, followed by
SSE psrldq.  Only SSE register source operand is allowed.

PR target/89021
* config/i386/sse.md (ssse3_palignrdi): Changed to
define_insn_and_split to support SSE emulation.

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