This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Spill cost


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]