Reducing RTL allocations

law@redhat.com law@redhat.com
Sat Jun 8 06:50:00 GMT 2002


In message <20020607.232856.75389127.davem@redhat.com>, "David S. Miller" write
s:
 >    From: law@redhat.com
 >    Date: Fri, 07 Jun 2002 19:54:44 -0600
 >    
 >    This patch has been bootstrapped on i686-pc-linux-gnu and regression test
 > ed
 >    on the same.  I've also bootstrapped the PA port for good measure.  Insta
 > lled
 >    into the mainline sources.  Whee.
 > 
 > Holy crap, nice work Jeff.
BTW, this should be good for about a 5-6% improvement in compile time.   I
didn't do a strict before/after test, but the times after all yesterday's
changes into the mainline are a good 6% better than the times from Thursday
for my suite of tests.

There's still some sillyness going on rtl-generation wise, but it looks a
lot better now.  There's still one obvious place that's creating lots of
unnecessary REGs -- around a million or so in init_alias_analysis (the
more arg registers you have the worse it gets, the million number is for
12 argument registers).

reload_cse_simplify_operands also breaks the million mark for creating 
registers, but it's less clear if those are necessary or not (I'll be
checking shortly).

Jeff



More information about the Gcc-patches mailing list