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 Tue, 13 May 2003, Daniel Berlin wrote:

> So I proposed that it's wrong to make the new-register-allocator try to
> figure this out in get_free_reg, and that we shouldn't be handed
> classes (which we convert into usable_regs) that contain invalid
> registers.

Yep, get_free_reg would be wrong ...

> Alternatively, since i know this won't ever happen until web_class is
> the default, I sent a patch to prune the hard regs of usable_regs using
> the web's call crossing information.

... and limiting usable_regs is right.


Ciao,
Michael.


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