Index: src/mips/lithium-mips.h |
diff --git a/src/mips/lithium-mips.h b/src/mips/lithium-mips.h |
index 3ea0aef98511cd9d92c6697ca0afcddb000b0999..4dfa46c2c3be55ec163c585cca9162bcee2df258 100644 |
--- a/src/mips/lithium-mips.h |
+++ b/src/mips/lithium-mips.h |
@@ -134,6 +134,7 @@ class LCodeGen; |
V(MathMinMax) \ |
V(ModI) \ |
V(MulI) \ |
+ V(MultiplyAddD) \ |
V(NumberTagD) \ |
V(NumberTagI) \ |
V(NumberTagU) \ |
@@ -601,6 +602,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) { |