Speedup extract_insn

Jan Hubicka jh@suse.cz
Mon Jan 26 11:14:00 GMT 2004


> Jan Hubicka <jh@suse.cz> writes:
> 
> > Hi,
> > I made bit oprofiling and these two memsets wins competetion for the
> > most expensive line in GCC sources.  Yet I believe they are completely
> > useless now when we insist on all operands being used.
> > 
> > Bootstrapped/regtested i686-pc-gnu-linux, OK?
> 
> I'd prefer that the memsets were just removed altogether.

We used to have bugs in scheduler description accessing non-existent
oprands, this memset should catch them.
> 
> When you removed them, did it have any actual compile-time impact?

Yes, it caused about 0.5-1% speedup on non-optimizing compilation in my
tests.

Honza
> 
> -- 
> - Geoffrey Keating <geoffk@geoffk.org>



More information about the Gcc-patches mailing list