new register allocator and HARD_REGNO_CALL_PART_CLOBBERED
Michael Matz
matz@suse.de
Wed May 14 12:37:00 GMT 2003
Hi,
On Wed, 14 May 2003, Joern Rennecke wrote:
> You already handle registers that are in call_used_reg_set in
> choose_spill_colors, albeit I must say that adding a constant cost of
> 1000 to all registers that would require one or more caller-saves is
> not a very fine-honed heuristic.
>
> Is the current handling of caller-saves in choose_spill_colors something
> you intend to move away int df.c?
I have patches in queue here, that make the new-regalloc use caller saved
regs for pseudos live over calls, if that seems worthwhile. The actual
emission of caller-save code is still deferred to caller-save.c, though.
Ciao,
Michael.
More information about the Gcc
mailing list