Index: src/ia32/lithium-ia32.h |
diff --git a/src/ia32/lithium-ia32.h b/src/ia32/lithium-ia32.h |
index 18741d1fca2cf9488fc18a2f7ba8dc775a221c49..c5948e60a87cdbaee590a19d0f4898d8376b309a 100644 |
--- a/src/ia32/lithium-ia32.h |
+++ b/src/ia32/lithium-ia32.h |
@@ -130,6 +130,7 @@ class LCodeGen; |
V(MathPowHalf) \ |
V(ModI) \ |
V(MulI) \ |
+ V(MultiplyAddD) \ |
V(NumberTagD) \ |
V(NumberTagI) \ |
V(NumberTagU) \ |
@@ -599,6 +600,23 @@ class LMulI: public LTemplateInstruction<1, 2, 1> { |
}; |
+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) { |