Index: src/mips/lithium-codegen-mips.cc |
diff --git a/src/mips/lithium-codegen-mips.cc b/src/mips/lithium-codegen-mips.cc |
index 74b53155d3c4be94c713d172fc9bdac3ed57bec5..d2e3c061e6ec636a35beb1c8da80abf4917e5851 100644 |
--- a/src/mips/lithium-codegen-mips.cc |
+++ b/src/mips/lithium-codegen-mips.cc |
@@ -5183,6 +5183,25 @@ void LCodeGen::DoClampTToUint8(LClampTToUint8* instr) { |
} |
+void LCodeGen::DoDoubleBits(LDoubleBits* instr) { |
+ DoubleRegister value_reg = ToDoubleRegister(instr->value()); |
+ Register result_reg = ToRegister(instr->result()); |
+ if (instr->hydrogen()->bits() == HDoubleBits::HIGH) { |
+ __ FmoveHigh(result_reg, value_reg); |
+ } else { |
+ __ FmoveLow(result_reg, value_reg); |
+ } |
+} |
+ |
+ |
+void LCodeGen::DoConstructDouble(LConstructDouble* instr) { |
+ Register hi_reg = ToRegister(instr->hi()); |
+ Register lo_reg = ToRegister(instr->lo()); |
+ DoubleRegister result_reg = ToDoubleRegister(instr->result()); |
+ __ Move(result_reg, lo_reg, hi_reg); |
+} |
+ |
+ |
void LCodeGen::DoAllocate(LAllocate* instr) { |
class DeferredAllocate V8_FINAL : public LDeferredCode { |
public: |