This is the mail archive of the gcc-patches@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]

Re: Fixes to estimate_num_insns from pretty-ipa branch


> > That is fine with me...
> > Those are really bit strange side cases: we expect complette unrollig
> > for size to happen even if it increases code size because we know that
> > it will be optimized better then.
> 
> Well, that's obviously a good test for the heuristics then ;)

Yep, especially if there was some heuristic implemented at all :)))
All we do is to subtract 1/3 of the loop body size that is not enough if
you are more realistic about sizes.  Well, I will add the code
predicting what statements will fold away.

Honza


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