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: Reserving a number of consecutive registers


Ok, I've been working at this and have actually made a bit of progress.

- I now have a framework that finds the group of loads (let's assume
they stay together).

- With the DF framework, I'm able to figure out which registers are
being used and which are free to be used.

- I've pretty much got it to change the registers to the ones I want
but there are still some corner cases where it seems to be badly
handling that and actually changing the semantics of the program.

I'll look into that, thanks,
Jc

On Mon, Apr 20, 2009 at 3:01 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
>> Ok, I'll try to look at that. Is there an area where I can see how to
>> initialize the framework and get information about which registers are
>> free?
>
> The API is in df.h, see for example ifcvt.c.
>
> --
> Eric Botcazou
>


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