This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/18463] [4.0 Regression] Moving floating point through an integer register
- 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: 25 Nov 2004 23:29:50 -0000
- Subject: [Bug tree-optimization/18463] [4.0 Regression] Moving floating point through an integer register
- References: <20041113170938.18463.steven@gcc.gnu.org>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-25 23:29 -------
This is mostly a iv-opts problem.
But note we still don't get the most optimal code with -fno-ivopts:
.L4:
movl 8(%ebp), %ebx
movl (%ebx,%edx,4), %eax
movl 20(%ebp), %ebx
movl %eax, (%esi,%edx,4)
movl (%edi,%edx,4), %eax
movl %eax, (%ebx,%edx,4)
incl %edx
cmpl %edx, %ecx
jg .L4
But that is because of we are pulling in the load from the agruments into the loop (that is a different
bug but I think I should mark that as a regression).
We still get the same asm as given in comment #0 with -fivopts still on.
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |rakdver at gcc dot gnu dot
| |org
Component|rtl-optimization |tree-optimization
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18463