Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(874)

Issue 4863041: [lto] Remove most streamer hooks. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years, 8 months ago by Diego Novillo
Modified:
13 years, 8 months ago
Reviewers:
CC:
rguenther_suse.de, jh_suse.cz, matz_suse.de, gcc-patches_gcc.gnu.org
Visibility:
Public.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+688 lines, -724 lines) Patch
M gcc/ChangeLog.pph View 1 chunk +102 lines, -0 lines 0 comments Download
M gcc/Makefile.in View 2 chunks +3 lines, -2 lines 0 comments Download
M gcc/gimple-streamer-in.c View 5 chunks +5 lines, -5 lines 0 comments Download
M gcc/gimple-streamer-out.c View 6 chunks +6 lines, -5 lines 0 comments Download
M gcc/ipa-inline-analysis.c View 2 chunks +2 lines, -2 lines 0 comments Download
M gcc/ipa-prop.c View 5 chunks +14 lines, -14 lines 0 comments Download
M gcc/lto-cgraph.c View 2 chunks +2 lines, -2 lines 0 comments Download
M gcc/lto-streamer.h View 3 chunks +1 line, -12 lines 0 comments Download
M gcc/lto-streamer.c View 2 chunks +2 lines, -111 lines 0 comments Download
M gcc/lto-streamer-in.c View 16 chunks +109 lines, -29 lines 0 comments Download
M gcc/lto-streamer-out.c View 14 chunks +167 lines, -51 lines 0 comments Download
M gcc/lto/lto.c View 1 chunk +1 line, -1 line 0 comments Download
M gcc/lto/lto-lang.c View 1 chunk +1 line, -0 lines 0 comments Download
M gcc/streamer-hooks.h View 2 chunks +18 lines, -72 lines 0 comments Download
M gcc/tree-streamer.h View 2 chunks +24 lines, -4 lines 0 comments Download
M gcc/tree-streamer.c View 2 chunks +61 lines, -1 line 0 comments Download
M gcc/tree-streamer-in.c View 28 chunks +99 lines, -180 lines 0 comments Download
M gcc/tree-streamer-out.c View 25 chunks +71 lines, -233 lines 0 comments Download

Messages

Total messages: 6
Diego Novillo
This implements step #4 from my streamer refactoring series at http://gcc.gnu.org/ml/gcc-patches/2011-08/msg00765.html (I skipped steps #2 ...
13 years, 8 months ago (2011-08-11 02:38:09 UTC) #1
rguenther_suse.de
On Wed, 10 Aug 2011, Diego Novillo wrote: > > This implements step #4 from ...
13 years, 8 months ago (2011-08-11 08:45:19 UTC) #2
matz_suse.de
Hi, On Wed, 10 Aug 2011, Diego Novillo wrote: > The API in the tree ...
13 years, 8 months ago (2011-08-11 12:23:07 UTC) #3
Diego Novillo
On Thu, Aug 11, 2011 at 08:23, Michael Matz <matz@suse.de> wrote: > The obvious question: ...
13 years, 8 months ago (2011-08-11 12:30:43 UTC) #4
Diego Novillo
On Thu, Aug 11, 2011 at 04:45, Richard Guenther <rguenther@suse.de> wrote: >> 5- Handle CALL_EXPR ...
13 years, 8 months ago (2011-08-11 12:39:44 UTC) #5
Diego Novillo
13 years, 8 months ago (2011-08-11 16:49:47 UTC) #6
On Thu, Aug 11, 2011 at 08:23, Michael Matz <matz@suse.de> wrote:

> The obvious question: have you measured performance (with an optimized
> cc1) on a medium sized exectutable, say cc1 itself?  (I'm worrying about
> inlining that doesn't happen anymore).

I compared three things: profiled bootstrap time for C, LTO
compilation of insn-attrtab.o and LTO link of cc1.  I found no
significant differences:

Bootstrap: before = 3,177 secs.  after = 3,133 secs (-1% difference)
insn-attrtab.o: before = 83.85 secs. after = 83.69 secs (0% difference)
cc1 link: before = 57.55 secs. after = 57.19 secs (-1% difference)

I also tested on the stage1 compiler (to remove the effects of the LTO
optimizations).  Again, little to no differences:

insn-attrtab.o: before = 345.65 secs.  after = 347.29 secs (0% difference)
cc1 link: before = 99.30 secs. after = 99.39 secs (0% difference)

The effect of the callbacks is negligible.


Diego.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b