This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Inliner heuristics updated
- From: Richard Guenther <richard dot guenther at gmail dot com>
- To: Jan Hubicka <jh at suse dot cz>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 25 May 2005 21:16:02 +0200
- Subject: Re: Inliner heuristics updated
- References: <20050525114401.GX29456@kam.mff.cuni.cz>
- Reply-to: Richard Guenther <richard dot guenther at gmail dot com>
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.