This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc compile-time performance
From: Jan Hubicka <jh@suse.cz>
Date: Mon, 20 May 2002 14:56:49 +0200
I sent the patch for non-recursive for_each_rtx some time ago.
It didn't made big difference for i386, but I would guess on SPARC it can
be different, because of the register windows.
On Sparc actually it shows up much less.
Here, try this, build a cc1 with no optimizations enabled and "-pg",
then use it to build reload1.c with -O2, you'll see for_each_rtx
clearly in the profiles.