Displaying 1 result from an estimated 1 matches for "gpr11".
Did you mean:
gpr13
2009 Jan 27
0
[LLVMdev] PPC calling convention -- how to provide an environment pointer?
...from a table titled Register Preservation on page 22 of this
PDF:
http://developer.apple.com/documentation/developertools/Conceptual/LowLevelABI/Mac_OS_X_ABI_Function_Call_Guide.pdf
Reg Preserved
Notes
---------------------------
GPR0 No
(No notes.)
...
GPR2 No
Available for general use.
...
GPR11 Yes in nested functions. No in leaf functions.
In nested functions, the caller passes its stackframe to the nested
function in this register. In leaf functions, the register is
available. For details on nested functions, see the GCC
documentation. This register is also used by lazy stubs...