i386: Emulate MMX sse_cvtpi2ps with SSE
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 15 May 2019 15:12:47 +0000 (15:12 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 15 May 2019 15:12:47 +0000 (08:12 -0700)
commitb7e97d9a814e206ed444fcba4ef62ba0a830ebdb
tree4259eb62776fa2b48498285965edfbd7eab889b5
parentf3d6634ba3d2b6f7ba14a6189ca2452264064d14
i386: Emulate MMX sse_cvtpi2ps with SSE

Emulate MMX sse_cvtpi2ps with SSE2 cvtdq2ps, preserving upper 64 bits of
destination XMM register.  Only SSE register source operand is allowed.

PR target/89021
* config/i386/sse.md (sse_cvtpi2ps): Changed to
define_insn_and_split.  Also allow TARGET_MMX_WITH_SSE.  Add
SSE emulation.

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