This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Please try out new inlining heuristics
> On Sun, 29 Jun 2003, Jan Hubicka wrote:
> > OK, I found problem. During synchronizing with the mainline, one hunk
> > got lost that caused template instantiations to be marked as
> > uninlinable.
>
> Well, that certainly explains why runtime for my template-heavy C++ code
> went through the roof, out of a sudden! :-)
>
> > I now also have new # of instructions approximation scheme, so hope to
> > get scores better now.
>
> That sounds exciting.
And it seems to work somehow... I've stripped down your testsuite so it
runs only 18 minutes and tested all three heuristics I've implemented.
Interestingly enought the first one is still a winner.
The compile time savings are not that high tought. Instead compilation
time comes form 8:30 to 7:20 but I hope I will be able to tune them a
bit better.
I will send you what I have once tests finish.
Honza
>
> Gerald