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: Stack offset computation for incoming arguments.


> ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM need to be pseudo-registers if
> they do not represent real registers.

The wording "pseudo registers" is obviously a bit confusing in this context...

If ARG_POINTER_REGNUM and FRAME_POINTER_REGNUM do not represent real registers 
then they need to be fake hard registers, i.e. hard registers according to the 
FIRST_PSEUDO_REGISTER macro but with an arbitrary REGNUM (typically just below 
the FIRST_PSEUDO_REGISTER macro).  See the numerous examples in the tree.

-- 
Eric Botcazou


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