Displaying 3 results from an estimated 3 matches for "gpr3".
Did you mean:
gpr
2009 Jan 27
0
[LLVMdev] PPC calling convention -- how to provide an environment pointer?
...reserve any register for this purpose.
So it sounds like we can use R11 or R12 provided none of the function
prologues also expect to use these. On SVR4 ABI this is true. Is it also
true for Darwin?
If not, is there some other technique that we should consider? The
obvious alternative would spill GPR3 into the parameter region, use
that, and then reload after saving the ENV ptr, but I'm not clear
whether the caller is obligated to have a parameter area in the case
where *none* of its callees take any arguments.
So: are R11 and R12 reserved enough on Darwin to be safe for our
purposes?
Than...
2009 Jan 27
0
[LLVMdev] PPC calling convention -- how to provide an environment pointer?
...gt;
> So it sounds like we can use R11 or R12 provided none of the function
> prologues also expect to use these. On SVR4 ABI this is true. Is it
> also
> true for Darwin?
>
> If not, is there some other technique that we should consider? The
> obvious alternative would spill GPR3 into the parameter region, use
> that, and then reload after saving the ENV ptr, but I'm not clear
> whether the caller is obligated to have a parameter area in the case
> where *none* of its callees take any arguments.
>
> So: are R11 and R12 reserved enough on Darwin to be safe...
2009 Jan 27
2
[LLVMdev] PPC calling convention -- how to provide an environment pointer?
> Message: 5
> Date: Mon, 26 Jan 2009 21:47:12 -0500
> From: "Jonathan S. Shapiro" <shap at eros-os.com>
> Subject: [LLVMdev] PPC calling convention -- how to provide an
> environment pointer?
> To: LLVM Developers Mailing List <llvmdev at cs.uiuc.edu>
> Message-ID: <1233024432.24380.11.camel at vmx>
> Content-Type: text/plain
>
> This is