diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2016-04-18 19:40:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2016-04-18 12:40:30 -0700 |
commit | 91a47c39bfc0e58ac8fea59ba485d220665eca28 (patch) | |
tree | 12cb956dfcb4981785e0a7d11d784aac19142133 /gcc/cp/ChangeLog | |
parent | 81c160c6f36e29dd25639f1a327d681c9c1a62ba (diff) | |
download | gcc-91a47c39bfc0e58ac8fea59ba485d220665eca28.zip gcc-91a47c39bfc0e58ac8fea59ba485d220665eca28.tar.gz gcc-91a47c39bfc0e58ac8fea59ba485d220665eca28.tar.bz2 |
Optimize load double into xmm with zero_extend
"movq" should used to load double into xmm register with zero_extend:
(set (reg:V2DF 90)
(vec_concat:V2DF (reg/v:DF 88 [ d ])
(const_double:DF 0.0 [0x0.0p+0])))
Unlike "movsd", which only works with load from memory, "movq" works
with both memory and xmm register.
gcc/
PR target/70708
* config/i386/sse.md (sse2_loadlpd): Accept load from "xm" and
replace %vmovsd with "%vmovq".
(vec_concatv2df): Likewise.
gcc/testsuite/
PR target/70708
* gcc.target/i386/pr70708.c: New test.
From-SVN: r235169
Diffstat (limited to 'gcc/cp/ChangeLog')
0 files changed, 0 insertions, 0 deletions