This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Speedup extract_insn


> 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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]