[llvm-commits] [llvm] r93875 - /llvm/trunk/lib/Target/Mips/MipsCallingConv.td
Bruno Cardoso Lopes
bruno.cardoso at gmail.com
Tue Jan 19 04:37:36 PST 2010
Author: bruno
Date: Tue Jan 19 06:37:35 2010
New Revision: 93875
URL: http://llvm.org/viewvc/llvm-project?rev=93875&view=rev
Log:
Fix return registers for mips eabi
Modified:
llvm/trunk/lib/Target/Mips/MipsCallingConv.td
Modified: llvm/trunk/lib/Target/Mips/MipsCallingConv.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/Mips/MipsCallingConv.td?rev=93875&r1=93874&r2=93875&view=diff
==============================================================================
--- llvm/trunk/lib/Target/Mips/MipsCallingConv.td (original)
+++ llvm/trunk/lib/Target/Mips/MipsCallingConv.td Tue Jan 19 06:37:35 2010
@@ -23,11 +23,11 @@
// 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]>>>
]>;
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list