i386: Add register source to movddup
authorH.J. Lu <hongjiu.lu@intel.com>
Sun, 14 Oct 2018 20:39:05 +0000 (20:39 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Sun, 14 Oct 2018 20:39:05 +0000 (13:39 -0700)
commit77919e6aff5bfbe4f694dafb168b668740914b16
treeea5c9c13fad1b6bf2b5d5a9750f5156e13704230
parent190667ae2509700bc2ddda4be0934249bdd30e9c
i386: Add register source to movddup

Add register source to movddup so that IRA will allow register source
for *vec_dupv2di when SSE3 is enabled.

gcc/

PR target/87599
* config/i386/sse.md (*vec_dupv2di): Add register source to
movddup.

gcc/testsuite/

PR target/87599
* gcc.target/i386/pr87599.c: New test.

From-SVN: r265151
gcc/ChangeLog
gcc/config/i386/sse.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/i386/pr87599.c [new file with mode: 0644]