[patches] Re: genattrtab resource usage reduction + insn-attrtab on diet

Jan Hubicka jh@suse.cz
Sat Dec 16 10:42:00 GMT 2000


> On Fri, Dec 15, 2000 at 02:01:22PM +0100, Jan Hubicka wrote:
> > For i386 it reduces insn-attrtab from 1.3MB to 590KB and memory usage
> > from 100MB to 30MB.
> 
> Keen.  I think this warrents applying this patch regardless
> of any possible minor regressions on other platforms.
I was checking few platforms (alpha, sparc, hp-pa) and the effect
seemed to be possitive in all cases.  The rtx_cost definition is now
pretty conservative.
> 
> > 	* genattrtab (attr_rtx_cost): New function.
> > 	(simplify_test_exp): Avoid overactive inlining; use temporary
> > 	obstacks for tests.
> 
> Ok.
Thanks for approval! Hope that users here at atrey will now like me better :)

BTW It may make sense to do all simplifications at temporary obstacks.
I will check this later.

Honza
> 
> 
> r~


More information about the Gcc-patches mailing list