Spill cost

James E Wilson wilson@specifixinc.com
Thu Mar 10 21:28:00 GMT 2005


Rajkishore Barik wrote:
> Does anyone know how to obtain the overall spill cost  for the old reg 
> alloc of GCC (global.c)?

We don't have existing hooks for this, but it shouldn't be hard for you 
to add them yourself.  Try looking at the code, see in particular 
dump_global_regs in global.c and the uses of dump_file in reload1.c.
-- 
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



More information about the Gcc mailing list