This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Reserving a number of consecutive registers
For the moment, we will be remaining in the 4.3.2 version and have no
plans to follow the next 4.4/4.5 versions.
Does any architecture do such a "machine-specific reorg" pass. I've
looked around and haven't really seen one. Could you give me an idea
of where to look and how exactly that would work?
Thanks a lot,
Jc
On Mon, Apr 20, 2009 at 12:36 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> This is a little bit simpler than what you find in find_free_reg. Any
>> comments/suggestions at this point?
>
> The local register allocator (local-alloc.c) has been removed in the upcoming
> 4.4.x series of compilers so you might want to try something else. Doing it
> during register allocation seems tricky, a machine-specific reorg pass could
> be more appropriate. I'm not sure we already have something like this in the
> compiler (SPARC has a double-load instruction but it's only implemented as a
> peephole).
>
> --
> Eric Botcazou
>