This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Cross-class inlining
- From: Andrew Haley <aph at redhat dot com>
- To: "Robin Garner" <robin dot garner at iname dot com>
- Cc: "java" <java at gcc dot gnu dot org>
- Date: Thu, 23 Oct 2003 12:01:08 +0100
- Subject: Re: Cross-class inlining
- References: <20031023051505.55489.qmail@iname.com>
Robin Garner writes:
> > > Still, the "all in 1" approach gets a 49% speedup over just -O3 on
> > > individual modules, and 17% better than I could do by hand.
> >
> > Cool.
> >
>
> Actually that was a bit premature - must have been tired. What I was seeing was a 17% improvement over the hand-inlined source. Compiling the unoptimized source all on the one command line actually only gets a 12% improvement.
>
> So: next question - is there any way to manually direct the inlining ? I've tried playing with various values of -finline-limit, but can't get better than this.
Well, I can't see what's being inlined. Can you see any code that you
think should be inlined but isn't?
It might be that we have a bug, and the linliner isn't working.
Andrew.