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: Inliner heuristics updated


On 5/25/05, Jan Hubicka <jh@suse.cz> wrote:
> Hi,
> I am about to commit the patch in the attached form (with testcase using
> Janis' new tree-prof scripts, thanks!).
> I did some extra testing on SPEC, Gerald testcase and tramp3d.  For SPEC
> the new inliner always brings slightly better results at slightly
> smaller compile time, important differences are only in the profile
> driven runs I sent last time.

Note that for testcases like tramp3d with loads of small functions being
inlined anyway, profiling now is several orders of magitude slower because
even very small functions are instrumented.  This results in 90% of the
generated assembly being long long increments of (redundant) counters.

I know you are aware of this problem, I just want to remind you that a fix
for this (running some inlining before instrumentation) is necessary before 4.1.

Thanks,
Richard.


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