[Bug target/30961] [4.1/4.2/4.3 regression] redundant reg/mem stores/moves

pluto at agmk dot net gcc-bugzilla@gcc.gnu.org
Mon Aug 6 21:39:00 GMT 2007



------- 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



More information about the Gcc-bugs mailing list