This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/19701] [4.0 regression] Way too many IVs


------- Additional Comments From rakdver at gcc dot gnu dot org  2005-01-30 11:59 -------
Patch #7 of http://gcc.gnu.org/ml/gcc-patches/2004-12/msg01381.html more or 
less solves the problem (there is one small bit missing that does not affect 
this testcase, but might be significant elsewhere).

The selection of ivs on x86 seems ok to me -- the cost of computing w - ivtmp.4
is the same as the cost of decrementing w, so this way is equivalent to the one
used in the original code (and would need less registers in case the original 
value of w would be live across the loop).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]