Index: src/mips/macro-assembler-mips.cc |
diff --git a/src/mips/macro-assembler-mips.cc b/src/mips/macro-assembler-mips.cc |
index 116cb05655305f933a825a140a9ff76fa952fbdd..c64fe2a38f48223c21f3923f94de8238d3c2204b 100644 |
--- a/src/mips/macro-assembler-mips.cc |
+++ b/src/mips/macro-assembler-mips.cc |
@@ -3517,7 +3517,7 @@ void MacroAssembler::CheckMap(Register obj, |
} |
-void MacroAssembler::GetCFunctionDoubleResult(const DoubleRegister dst) { |
+void MacroAssembler::MovFromFloatResult(DoubleRegister dst) { |
if (IsMipsSoftFloatABI) { |
Move(dst, v0, v1); |
} else { |
@@ -3526,7 +3526,7 @@ void MacroAssembler::GetCFunctionDoubleResult(const DoubleRegister dst) { |
} |
-void MacroAssembler::GetFromCDoubleArguments(const DoubleRegister dst) { |
+void MacroAssembler::MovFromFloatParameter(DoubleRegister dst) { |
if (IsMipsSoftFloatABI) { |
Move(dst, a0, a1); |
} else { |
@@ -3535,50 +3535,38 @@ void MacroAssembler::GetFromCDoubleArguments(const DoubleRegister dst) { |
} |
-void MacroAssembler::SetCallCDoubleArguments(DoubleRegister dreg) { |
+void MacroAssembler::MovToFloatParameter(DoubleRegister src) { |
if (!IsMipsSoftFloatABI) { |
- Move(f12, dreg); |
+ Move(f12, src); |
} else { |
- Move(a0, a1, dreg); |
+ Move(a0, a1, src); |
} |
} |
-void MacroAssembler::SetForCDoubleResult(DoubleRegister dreg) { |
+void MacroAssembler::MovToFloatResult(DoubleRegister src) { |
if (!IsMipsSoftFloatABI) { |
- Move(f0, dreg); |
+ Move(f0, src); |
} else { |
- Move(v0, v1, dreg); |
+ Move(v0, v1, src); |
} |
} |
-void MacroAssembler::SetCallCDoubleArguments(DoubleRegister dreg1, |
- DoubleRegister dreg2) { |
+void MacroAssembler::MovToFloatParameters(DoubleRegister src1, |
+ DoubleRegister src2) { |
if (!IsMipsSoftFloatABI) { |
- if (dreg2.is(f12)) { |
- ASSERT(!dreg1.is(f14)); |
- Move(f14, dreg2); |
- Move(f12, dreg1); |
+ if (src2.is(f12)) { |
+ ASSERT(!src1.is(f14)); |
+ Move(f14, src2); |
+ Move(f12, src1); |
} else { |
- Move(f12, dreg1); |
- Move(f14, dreg2); |
+ Move(f12, src1); |
+ Move(f14, src2); |
} |
} else { |
- Move(a0, a1, dreg1); |
- Move(a2, a3, dreg2); |
- } |
-} |
- |
- |
-void MacroAssembler::SetCallCDoubleArguments(DoubleRegister dreg, |
- Register reg) { |
- if (!IsMipsSoftFloatABI) { |
- Move(f12, dreg); |
- Move(a2, reg); |
- } else { |
- Move(a2, reg); |
- Move(a0, a1, dreg); |
+ Move(a0, a1, src1); |
+ Move(a2, a3, src2); |
} |
} |