mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Fix return registers for mips eabi
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93875 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4c8c668b57
commit
e5ebd5f2ae
@ -23,11 +23,11 @@ def RetCC_MipsO32 : CallingConv<[
|
||||
// i32 are returned in registers V0, V1
|
||||
CCIfType<[i32], CCAssignToReg<[V0, V1]>>,
|
||||
|
||||
// f32 are returned in registers F0, F1
|
||||
CCIfType<[f32], CCAssignToReg<[F0, F1]>>,
|
||||
// f32 are returned in registers F0, F2
|
||||
CCIfType<[f32], CCAssignToReg<[F0, F2]>>,
|
||||
|
||||
// f64 are returned in register D0
|
||||
CCIfType<[f64], CCIfSubtarget<"isNotSingleFloat()", CCAssignToReg<[D0]>>>
|
||||
// f64 are returned in register D0, D1
|
||||
CCIfType<[f64], CCIfSubtarget<"isNotSingleFloat()", CCAssignToReg<[D0, D1]>>>
|
||||
]>;
|
||||
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
Loading…
Reference in New Issue
Block a user