This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]