This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/19078] [4.0 Regression] Poor quality code after loop unrolling.
- From: "rakdver at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 19 Dec 2004 22:04:12 -0000
- Subject: [Bug rtl-optimization/19078] [4.0 Regression] Poor quality code after loop unrolling.
- References: <20041219105831.19078.chris@bubblescope.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From rakdver at gcc dot gnu dot org 2004-12-19 22:04 -------
With minor adjustment in ivopts, we get the same code as in 3.3 with fno-split-
ivs-in-unroller, and more reasonably looking code without; I'm testing the
patch just now.
Of course we cannot have autoincrements and iv splitting at the same time. It
might be possible to use some heuristics to disable iv splitting if it does not
seem useful. Possibly even better would be to add generation of autoincrements
to loop optimizer, but this would require fixing cse so that it handles them
correctly.
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |rakdver at gcc dot gnu dot
|dot org |org
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19078