Displaying 3 results from an estimated 3 matches for "ccassigntoxxxwithshadow".
2011 Sep 23
1
[LLVMdev] What CCAssignToXXXWithShadow means?
Hi, Anton
> On Win64 general purpose registers shadow xmm and vice versa, so, say,
> if you put argument into ecx, the xmm0 is marked as already occupied,
> if you put argument into xmm1, edx is marked as occupied, etc.
I think ecx and xmm0 are physical different registers (not like ecx
and cx), right? So why we cannot use xmm0 while ecx has been used? Is
it just a rule or there are
2011 Sep 23
0
[LLVMdev] What CCAssignToXXXWithShadow means?
Hello
> I don't know when we should use CCAssignToRegWithShadow. Because
> I am not a architecture expert, please bear with my naive question.
> Take ARMCallingConv.td as an example,
ARM is not good example :) Look into win64 calling convention. Shadow
means if some register is allocated for incoming argument another one
cannot be used for argument allocation.
On Win64 general
2011 Sep 23
2
[LLVMdev] What CCAssignToXXXWithShadow means?
Hi, all
On the website, it says,
CCAssignToRegWithShadow <registerList, shadowList>
— similar to CCAssignToReg, but with a shadow list of registers
I don't know when we should use CCAssignToRegWithShadow. Because
I am not a architecture expert, please bear with my naive question.
Take ARMCallingConv.td as an example,
CCIfType<[i32], CCIfAlign<"8",