This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30961] [4.1/4.2/4.3 regression] redundant reg/mem stores/moves
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Aug 2007 21:39:33 -0000
- Subject: [Bug target/30961] [4.1/4.2/4.3 regression] redundant reg/mem stores/moves
- References: <bug-30961-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from pluto at agmk dot net 2007-08-06 21:39 -------
rev. 101665:
convert:movl %edi, -4(%rsp)
movl %edi, -20(%rsp)
movss -4(%rsp), %xmm0
ret
load: movzwl (%rdi), %eax
ret
rev. 101666 (-fforce-mem removal):
convert:movl %edi, -4(%rsp)
movl %edi, -20(%rsp)
movss -4(%rsp), %xmm0
ret
load: movzwl (%rdi), %eax
movw %ax, -2(%rsp)
movzwl %ax, %eax
ret
rev. 116656 (patch for PR27567):
convert:movl %edi, -4(%rsp)
movss -4(%rsp), %xmm1
movaps %xmm1, %xmm0
ret
load: movzwl (%rdi), %eax
movw %ax, -2(%rsp)
movzwl %ax, %eax
ret
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30961