Index: src/x64/lithium-x64.h |
diff --git a/src/x64/lithium-x64.h b/src/x64/lithium-x64.h |
index 5439028904f429da28083e5c324707da256d5a9b..f5d9cc6ece25625bc33958ebd2eb47e33e30e296 100644 |
--- a/src/x64/lithium-x64.h |
+++ b/src/x64/lithium-x64.h |
@@ -135,6 +135,7 @@ class LCodeGen; |
V(MathMinMax) \ |
V(ModI) \ |
V(MulI) \ |
+ V(MultiplyAddD) \ |
V(NumberTagD) \ |
V(NumberTagI) \ |
V(NumberTagU) \ |
@@ -605,6 +606,23 @@ class LMulI: public LTemplateInstruction<1, 2, 0> { |
}; |
+class LMultiplyAddD: public LTemplateInstruction<1, 3, 0> { |
+ public: |
+ LMultiplyAddD(LOperand* a, LOperand* b, LOperand* c) { |
+ inputs_[0] = a; |
+ inputs_[1] = b; |
+ inputs_[2] = c; |
+ } |
+ |
+ LOperand* a() { return inputs_[0]; } |
+ LOperand* b() { return inputs_[1]; } |
+ LOperand* c() { return inputs_[2]; } |
+ |
+ DECLARE_CONCRETE_INSTRUCTION(MultiplyAddD, "multiply-add-d") |
+ DECLARE_HYDROGEN_ACCESSOR(MultiplyAddD) |
+}; |
+ |
+ |
class LCmpIDAndBranch: public LControlInstruction<2, 0> { |
public: |
LCmpIDAndBranch(LOperand* left, LOperand* right) { |