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: new register allocator and HARD_REGNO_CALL_PART_CLOBBERED


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.


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