search for: srdi

Displaying 2 results from an estimated 2 matches for "srdi".

Did you mean: rdi
2014 Aug 01
3
[LLVMdev] [PowerPC] ABI questions
...erformed the tests with gcc). Jonas *** struct str7 { char a[7]; }; int f7(struct str7 s) { return s.a[0]+s.a[6]; } int main(int argc) { struct str7 s7; s7.a[0]=argc; s7.a[6]=argc; return f7(s7); } *** - Linux/ppc64 (gcc 4.7.2): main: [initialise s7 on stack] ld 9,112(31) srdi 3,9,8 ; shift struct into least significant bits = remove tail padding bl f7 - AIX/ppc64 (gcc 4.8.1): [initialise s7, identical code as on Linux] ld 3,112(31) ; keep struct aligned in most signifcant bits (i.e., with tail padding) bl .f7 -------------- next part -----...
2014 Jul 30
4
[LLVMdev] [PowerPC] ABI questions
Hi all, I'm trying to understand which ABIs are supported in the PowerPC backend and I'm getting a bit confused. Here's what I've gathered so far alongside with some questions. - In PPCSubtarget.h there's DarwinABI, SVR4ABI and ELFv2ABI. - The CodeGenerator documentation claims that the AIX PowerPC ABI is followed (with some deviations). Is this refering to the DarwinABI? -