Index: src/x64/lithium-x64.cc |
diff --git a/src/x64/lithium-x64.cc b/src/x64/lithium-x64.cc |
index c6004e51b715d25b48dd0dbc0152ff0d66d8d4ae..98801f9571bdd1b8de54a112521e669d32ad3699 100644 |
--- a/src/x64/lithium-x64.cc |
+++ b/src/x64/lithium-x64.cc |
@@ -1281,6 +1281,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()); |