search for: 32bitpowerpc

Displaying 3 results from an estimated 3 matches for "32bitpowerpc".

2009 Jan 27
2
[LLVMdev] PPC calling convention -- how to provide an environment pointer?
...C. AFAIK, the OS X dynamic linker does not "own" any registers. Here are some links to the Darwin ABI. Let me know if these links don't work for you: http://developer.apple.com/documentation/developertools/Conceptual/LowLevelABI/100-32-bit_PowerPC_Function_Calling_Conventions/32bitPowerPC.html http://developer.apple.com/documentation/developertools/Conceptual/LowLevelABI/Mac_OS_X_ABI_Function_Call_Guide.pdf You may be able to use R11, R12, or R0. I assume you're aware that R0 reads as zero in some instruction fields; AFAIK, Darwin only uses R0 as a zero. Good Luck, stu...
2012 May 12
1
[LLVMdev] [cfe-dev] Odd PPC inline asm constraint
On Sat, 2012-05-12 at 00:47 -0500, Hal Finkel wrote: > On Tue, 01 May 2012 21:25:29 -0500 > Peter Bergner <bergner at vnet.ibm.com> wrote: > > By the strict letter of the 32-bit ABI, the save and restore of > > r31 at a negative offset of r1 is verboten. The ABI states the > > the stack space below the stack pointer is declared as volatile. > > I actually
2009 Jan 27
0
[LLVMdev] PPC calling convention -- how to provide an environment pointer?
On Tue, 2009-01-27 at 08:59 -0800, Stuart Hastings wrote: > I assume you're talking about the 32-bit PowerPC. Also 64-bit, but the two register usage conventions are very close. Someone previously pointed out that R0 is usable as a scratch register, and the CTR can be used. CTR *must* be used for the branch destination out of the ASM trampoline. R0 ends up getting used a lot for constant