[Bug target/90878] [8/9/10 Regression] integer -> SSE register move isn't generated
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Thu Jun 13 23:38:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90878
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Uroš Bizjak from comment #2)
> Why is this PR marked as a regression?
GCC 7 doesn't use memory:
[hjl@gnu-cfl-1 sse-move]$ cat x.s
.file "x.i"
.text
.p2align 4,,15
.globl foo
.type foo, @function
foo:
.LFB0:
.cfi_startproc
vmovd %xmm0, %eax
vxorpd %xmm0, %xmm0, %xmm0
andl $2147483647, %eax
vmovd %eax, %xmm1
vcvtss2sd %xmm1, %xmm0, %xmm0
ret
.cfi_endproc
.LFE0:
.size foo, .-foo
.ident "GCC: (GNU) 7.3.1 20181128"
.section .note.GNU-stack,"",@progbits
[hjl@gnu-cfl-1 sse-move]$
More information about the Gcc-bugs
mailing list