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: scavanging a reg


>>>>> Aldy Hernandez writes:

Aldy> although i'm thinking it's prob best to follow David's suggestion and
Aldy> just use r12 regardless.

	I would prefer that you simply try to use GPR11 and GPR12.  GPR11
is the static chain / environment pointer for recursive functions.

	GPR12 is conveniently available for this type of purpose -- not
used for arguments and not saved.

David


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