From: Daniel Berlin <dberlin@dberlin.org>
To: Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
Cc: Kurt Garloff <garloff@suse.de>, <gcc@gcc.gnu.org>,
Andreas Jaeger <aj@suse.de>
Subject: Re: inliner in gcc-3.1
Date: Tue, 30 Apr 2002 07:59:00 -0000 [thread overview]
Message-ID: <Pine.LNX.4.44.0204301041380.4100-100000@dberlin.org> (raw)
In-Reply-To: <Pine.BSF.4.44.0204280050030.36400-100000@pulcherrima.dbai.tuwien.ac.at>
> MSTDir[V=13,A=40]| 25.62 | 24.44 | 20.71 | 19.91 |
> MSTDir[V=15,A=40]| 25.70 | 24.47 | 20.72 | 19.93 |
> MSTUndir[V=13,A=40]| 12.89 | 12.82 | 11.15 | 10.72 |
> MSTUndir[V=15,A=40]|214.53 |210.60 |182.74 |176.79 |
> TIMETABLING| 9.61 | 10.71 | 10.51 | 10.29 |
>
> That is, code quality improves measurably overall and this would be a
> patchset that would be nice to have on mainline, after the first one
> RTH approved in principle, and which is just needing minor polishing,
> went in.
>
> > I'd be curious what other people get.
>
> Regardless of all these benchmarks, I believe one major problem the
> currently inliner has is that it's way too slow and thus forces us to
> default to inline limits which are too small to generate really efficient
> code for deeply nested C++ structures.
It's not the inliner, it's the expanders and things that aren't
particularly quick, like CSE.
But, I actually wanted to see if other compilers had the same issue (if
you kick up the inline limits, they become very slow), and sure enough,
they do.
If I kick the inline limits up on Intel's C++ compiler, it starts to take
5-10 minutes on code it could compile in 10 seconds.
This is with both C, and C++.
It also just makes the binaries bigger, not faster.
This was about a week ago that I did this, it was just a curiosity, so I
didn't sit there and make tables or anything.
I could, if anyone cares.
>
> Gerald
>
prev parent reply other threads:[~2002-04-30 14:49 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-24 4:37 Kurt Garloff
2002-04-24 16:31 ` Daniel Berlin
2002-04-25 15:06 ` Kurt Garloff
2002-04-25 18:25 ` Daniel Berlin
2002-04-25 0:21 ` Gerald Pfeifer
2002-04-25 0:48 ` Richard Henderson
2002-04-25 15:51 ` Kurt Garloff
2002-04-25 9:41 ` Gerald Pfeifer
2002-04-25 15:30 ` Kurt Garloff
2002-04-26 4:19 ` Gerald Pfeifer
2002-04-26 8:20 ` Kurt Garloff
2002-04-27 9:49 ` Kurt Garloff
2002-04-30 7:49 ` Gerald Pfeifer
2002-04-30 7:59 ` Daniel Berlin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0204301041380.4100-100000@dberlin.org \
--to=dberlin@dberlin.org \
--cc=aj@suse.de \
--cc=garloff@suse.de \
--cc=gcc@gcc.gnu.org \
--cc=pfeifer@dbai.tuwien.ac.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).