Index: src/mips/lithium-mips.cc |
diff --git a/src/mips/lithium-mips.cc b/src/mips/lithium-mips.cc |
index b5eb128e27c9c0df240c8edcab5666eeaa168751..5bb1cc14031d2cf16ccc3d90954a01f63eb0d48d 100644 |
--- a/src/mips/lithium-mips.cc |
+++ b/src/mips/lithium-mips.cc |
@@ -1241,6 +1241,20 @@ LInstruction* LChunkBuilder::DoMul(HMul* instr) { |
} |
+LInstruction* LChunkBuilder::DoMultiplyAddD(HMultiplyAddD* instr) { |
+ ASSERT(instr->representation().IsDouble()); |
+ ASSERT(instr->a()->representation().IsDouble()); |
+ ASSERT(instr->b()->representation().IsDouble()); |
+ ASSERT(instr->c()->representation().IsDouble()); |
+ |
+ LOperand* a = UseRegisterAtStart(instr->a()); |
+ LOperand* b = UseRegisterAtStart(instr->b()); |
+ LOperand* c = UseRegisterAtStart(instr->c()); |
+ LMultiplyAddD* result = new(zone()) LMultiplyAddD(a, b, c); |
+ return DefineSameAsFirst(result); |
+} |
+ |
+ |
LInstruction* LChunkBuilder::DoSub(HSub* instr) { |
if (instr->representation().IsInteger32()) { |
ASSERT(instr->left()->representation().IsInteger32()); |