[Bug target/36992] Very stange code for _mm_move_epi64
hjl dot tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Fri Aug 1 12:57:00 GMT 2008
------- Comment #5 from hjl dot tools at gmail dot com 2008-08-01 12:55 -------
(In reply to comment #3)
> Btw, 4.3 generates
>
> test:
> .LFB518:
> movhps .LC0(%rip), %xmm0
> ret
>
> Likewise does gcc-4.4 (SUSE Linux) 4.4.0 20080611. And current trunk.
It should be
movq %xmm0, %xmm0
with optimization.
>
> So ... why are you exactly complaining about the code generated for -O0 again?
>
It should use "movq". There is no need to use MMX moves, like
"movq %mm0, -40(%rbp)".
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36992
More information about the Gcc-bugs
mailing list