This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/17647] [4.0 regression] Missing i386 addressing modes
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 26 Nov 2004 15:40:08 -0000
- Subject: [Bug tree-optimization/17647] [4.0 regression] Missing i386 addressing modes
- References: <20040924070254.17647.uros@kss-loka.si>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-26 15:40 -------
(In reply to comment #7)
> (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:
Now at -O1, I do get the leal:
leal 0(,%ebx,8), %edx
movl (%edi), %ecx
movl (%esi), %eax
fldl (%edx,%eax)
fstpl (%ecx,%edx)
Likewise at -Os (which seems wrong):
movl -16(%ebp), %eax
leal 0(,%ebx,8), %edx
incl %ebx
movl (%eax), %ecx
movl (%edi), %eax
fldl (%eax,%edx)
fstpl (%ecx,%edx)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17647