Q about REGNO_OK_FOR_BASE_P et al

Richard Henderson rth@redhat.com
Sun Dec 19 20:51:00 GMT 2004


On Sun, Dec 19, 2004 at 01:59:38PM -0500, Robert Baruch wrote:
> All of its general purpose registers could be used
> in such a calculation, though. So does that mean that all of the
> general purpose registers should be ok for base and index, or that
> none should be used?

All.  See ia64 port.

> Also, the internals manual states that "[The base register] may be
> either a suitable hard register or a pseudo register that has been
> allocated such a hard register." Does that mean that a pseudo register
> that has NOT been allocated any hard register should always be
> considered unsuitable?

Yes.  Again, see the ia64 definition.


r~



More information about the Gcc mailing list