This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Q about REGNO_OK_FOR_BASE_P et al
- From: Richard Henderson <rth at redhat dot com>
- To: Robert Baruch <autophile at gmail dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 19 Dec 2004 12:51:40 -0800
- Subject: Re: Q about REGNO_OK_FOR_BASE_P et al
- References: <bbac368c04121910591138c6ae@mail.gmail.com>
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~