public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] gcse.c: don't compute a mapping from CUID to INSN
@ 2007-11-09 23:59 Steven Bosscher
  2007-11-10  1:09 ` Steven Bosscher
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Steven Bosscher @ 2007-11-09 23:59 UTC (permalink / raw)
  To: gcc-patches

Hi,

I've long lost the illusion that anyone here cares one serious bit
about compile time. But having loops over all insns just for the sake
of it is surely too much even for the most stubborn pass-adding,
compile time increasing gcc hacker around here?

Thus. Don't do useless work in gcse.c.  This saves 2 passes over all
insns with -fgcse, and even 3 with -Os.  I doubt this will have any
measurable impact, but one has to start somewhere.

Patch is untested beyond "it compiles", but that's really sufficient
in this case anyway :-)

Gr.
Steven

	* gcse.c (CUID_INSN): Remove.
	(cuid_insn): Ditto.
	(alloc_gcse_mem): Don't allocate cuid_insn.
	(free_gcse_mem): Don't free cuid_insn.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-11  9:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-09 23:59 [PATCH] gcse.c: don't compute a mapping from CUID to INSN Steven Bosscher
2007-11-10  1:09 ` Steven Bosscher
2007-11-11 10:22   ` Paolo Bonzini
2007-11-11 11:49     ` Steven Bosscher
2007-11-10  8:27 ` Richard Guenther
2007-11-10 16:32 ` Jakub Jelinek

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