Re: Spill cost

2005-03-10 Thread James E Wilson
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

Spill cost

2005-03-02 Thread Rajkishore Barik
Hi, Does anyone know how to obtain the overall spill cost for the old reg alloc of GCC (global.c)? I would like to know the spill cost before reload and after the reload (assuming reload changes the allocation). Are there any interface already available? By spill cost I mean: for each reg i