mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-08 03:30:22 +00:00
Extend set of return registers on sparc until someone will implement MRV support there. At least, this will allow libgcc compile, however we are not ABI-compatible with stuff compiled with native gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57364 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4cf5e2eb6c
commit
df75bbae94
@ -17,9 +17,9 @@
|
||||
|
||||
// Sparc 32-bit C return-value convention.
|
||||
def RetCC_Sparc32 : CallingConv<[
|
||||
CCIfType<[i32], CCAssignToReg<[I0, I1]>>,
|
||||
CCIfType<[f32], CCAssignToReg<[F0]>>,
|
||||
CCIfType<[f64], CCAssignToReg<[D0]>>
|
||||
CCIfType<[i32], CCAssignToReg<[I0, I1, I2, I3, I4, I5]>>,
|
||||
CCIfType<[f32], CCAssignToReg<[F1, F3, F5, F7]>>,
|
||||
CCIfType<[f64], CCAssignToReg<[D0, D2]>>
|
||||
]>;
|
||||
|
||||
// Sparc 32-bit C Calling convention.
|
||||
|
Loading…
Reference in New Issue
Block a user