[Bug tree-optimization/19126] Missed IV optimization (redundant instruction in loop)
steven at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sun Jan 23 16:03:00 GMT 2005
------- Additional Comments From steven at gcc dot gnu dot org 2005-01-23 16:03 -------
I get different asm for AMD64 as well:
.L4: | .L11:
movslq %r10d,%rax movslq %r10d,%rax
movslq %r11d,%rdx movslq %r11d,%rdx
incl %r9d incl %r9d
leaq (%rcx,%rax,4), %rax | leaq (%rsi,%rax), %rax
movss (%rbx,%rdx,4), %xmm0 | movss (%rbx,%rdx), %xmm0
addl %esi, %r11d | addl %ecx, %r11d
addl %r8d, %r10d addl %r8d, %r10d
cmpl %r9d, %edi cmpl %r9d, %edi
addss (%rax), %xmm0 addss (%rax), %xmm0
movss %xmm0, (%rax) movss %xmm0, (%rax)
jg .L4 | jg .L11
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19126
More information about the Gcc-bugs
mailing list