Displaying 2 results from an estimated 2 matches for "retcc_arm_aapcs_common".
2011 Sep 23
2
[LLVMdev] What CCAssignToXXXWithShadow means?
...WithShadow. Because
I am not a architecture expert, please bear with my naive question.
Take ARMCallingConv.td as an example,
CCIfType<[i32], CCIfAlign<"8", CCAssignToRegWithShadow<[R0, R2], [R0, R1]>>>
If we assign a value to R0(R2), then what happen to R0(R1)?
def RetCC_ARM_AAPCS_Common : CallingConv<[
CCIfType<[i32], CCAssignToReg<[R0, R1, R2, R3]>>,
CCIfType<[i64], CCAssignToRegWithShadow<[R0, R2], [R1, R3]>>
]>;
Does it mean the samething as above? I searched the web and found
the link below,
http://www.heyrick.co.uk/assembler/regs.html
I...
2011 Sep 23
0
[LLVMdev] What CCAssignToXXXWithShadow means?
...ady occupied,
if you put argument into xmm1, edx is marked as occupied, etc.
> CCIfType<[i32], CCIfAlign<"8", CCAssignToRegWithShadow<[R0, R2], [R0, R1]>>>
>
> If we assign a value to R0(R2), then what happen to R0(R1)?
It will be marked as occupied.
> def RetCC_ARM_AAPCS_Common : CallingConv<[
> CCIfType<[i32], CCAssignToReg<[R0, R1, R2, R3]>>,
> CCIfType<[i64], CCAssignToRegWithShadow<[R0, R2], [R1, R3]>>
> ]>;
>
> Does it mean the samething as above?
Yes. On ARM shadowing used as a trick to ensure "register alignment&...