This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: -fobey-inline (was Re: gcc and inlining)
- From: Richard Guenther <rguenth at tat dot physik dot uni-tuebingen dot de>
- To: Mike Stump <mrs at apple dot com>
- Cc: Stuart Hastings <stuart at apple dot com>, Matt Austern <austern at apple dot com>, Ron Price <ronp at apple dot com>, Mark Mitchell <mark at codesourcery dot com>, <gcc at gcc dot gnu dot org>
- Date: Thu, 13 Mar 2003 11:43:33 +0100 (CET)
- Subject: Re: -fobey-inline (was Re: gcc and inlining)
On Wed, 12 Mar 2003, Mike Stump wrote:
> On Wednesday, March 12, 2003, at 01:07 PM, Richard Guenther wrote:
> > I finally got the patch work for C++ (see attached patch - maybe
> > completely bogous, though...). An I have some numbers for you:
>
> If you could, find the various flags that control inlining, and bump
> the numbers up until you get similar number to (or better than) this
> flag. Then tell us what those numbers were, then we can consider
> upping those numbers. Also, tell us the language, I assume it was C++.
One more datapoint - for my particular testcase the crossover from
bad to good performance is somewhere between --param max-inline-insns
30000 and 40000. But this looks artificially high for a default value
(this shows the gcc metric of insns is not very good here).
Richard.
--
Richard Guenther <richard dot guenther at uni-tuebingen dot de>
WWW: http://www.tat.physik.uni-tuebingen.de/~rguenth/