i386: Add V2DFmode conversion functions [PR95046]
authorUros Bizjak <ubizjak@gmail.com>
Thu, 14 May 2020 11:47:33 +0000 (13:47 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Thu, 14 May 2020 11:47:33 +0000 (13:47 +0200)
commit365e3cde4978c6a7dbfa50865720226254c016be
tree14752db76d0680b55bbda53a957b13b353e558f8
parent2c814af65ef9f146519cba657890a4fd93c5be38
i386: Add V2DFmode conversion functions [PR95046]

gcc/ChangeLog:

PR target/95046
* config/i386/sse.md (sse2_cvtpi2pd): Add memory to alternative 1.

(floatv2siv2df2): New expander.
(floatunsv2siv2df2): New insn pattern.

(fix_truncv2dfv2si2): New expander.
(fixuns_truncv2dfv2si2): New insn pattern.

testsuite/ChangeLog:

PR target/95046
* gcc.target/i386/pr95046-6.c: New test.
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr95046-6.c [new file with mode: 0644]