merging for 3.4 (was Re: [Patch] Qualify min(), max() ...)

Daniel Berlin dberlin@dberlin.org
Wed Dec 4 14:23:00 GMT 2002



On Wed, 4 Dec 2002, Neil Booth wrote:

> Jan Hubicka wrote:-
>
> > Compiler is getting slower in each release but that is mostly cumulative
> > result of adding new features current infrastructure can't accept
> > cheaply...
>
> I hate this slowness.  There's no reason IMO that GCC couldn't be 4
> times faster than it is, without any PCH or anything.  A lot of the
> code we use is just awfully inefficient.  And people are working on
> more interesting things than fixing some of the real problems we have.

This is one of the very reasons for tree-ssa. So we can do most of the
slow crap we do in the backend (attempts at high level loop optimizations,
etc), in the frontend at a reasonable speed with good algorithms (it's
hard to do at reasonable speed in the backend because we end up trying to
recreate info we already have).
Most compiler backends consist mainly of cheap optimizations, register
allocation, and scheduling.
That's it.


> There's no excuse for the parser taking more time than CPP for example;
> currently it takes about 4-5 times as long.  I want to see GCC so fast
> that CPP is up to 5-10% of CPU time.  It's rarely much above 1 or 2%.
>
> Neil.
>



More information about the Gcc mailing list