[Bug tree-optimization/17647] [4.0 regression] Missing i386 addressing modes

uros at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Fri Nov 26 08:50:00 GMT 2004


------- Additional Comments From uros at gcc dot gnu dot org  2004-11-26 08:50 -------
(In reply to comment #6)
> This is fully a IV-OPTS problem now.
> With -fno-ivopts, I get

I can't get the same code as you. With mainline gcc (gcc version 4.0.0 20041126
(experimental)) and 'gcc -O2 -S -fno-ivopts LU.c' I got:

        xorl    %edx, %edx
        .p2align 4,,15
.L5:
        leal    0(,%edx,8), %eax
        incl    %edx
        fldl    (%eax,%ecx)
        cmpl    %edx, %edi
        fstpl   (%ebx,%eax)
        jg      .L5

leal is redundant in this case.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17647



More information about the Gcc-bugs mailing list