------- Additional Comments From pinskia at gcc dot gnu dot org 2005-06-13 12:46 ------- On the mainline we get now: .L4: movl (%ebp,%edx,4), %eax movl %eax, (%ebx,%edx,4) movl (%esi,%edx,4), %eax movl %eax, (%ecx,%edx,4) incl %edx cmpl %edx, %edi jne .L4
Which is better but the two loads/stores are not scheduled. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18463