This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: new register allocator and HARD_REGNO_CALL_PART_CLOBBERED
- From: Michael Matz <matz at suse dot de>
- To: Daniel Berlin <dberlin at dberlin dot org>
- Cc: Joern Rennecke <joern dot rennecke at superh dot com>,Herman ten Brugge <hermantenbrugge at home dot nl>,Dale Johannesen <dalej at apple dot com>, <gcc at gcc dot gnu dot org>
- Date: Tue, 13 May 2003 22:32:04 +0200 (CEST)
- Subject: 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.