Index: src/arm/lithium-codegen-arm.cc |
diff --git a/src/arm/lithium-codegen-arm.cc b/src/arm/lithium-codegen-arm.cc |
index f140e394569dabf20b322114594c2ccf99f47c33..3bd163509cd723edaec6f3348695db5055c3a340 100644 |
--- a/src/arm/lithium-codegen-arm.cc |
+++ b/src/arm/lithium-codegen-arm.cc |
@@ -1478,6 +1478,18 @@ void LCodeGen::DoMultiplyAddD(LMultiplyAddD* instr) { |
} |
+void LCodeGen::DoMultiplySubD(LMultiplySubD* instr) { |
+ DwVfpRegister minuend = ToDoubleRegister(instr->minuend()); |
+ DwVfpRegister multiplier = ToDoubleRegister(instr->multiplier()); |
+ DwVfpRegister multiplicand = ToDoubleRegister(instr->multiplicand()); |
+ |
+ // This is computed in-place. |
+ ASSERT(minuend.is(ToDoubleRegister(instr->result()))); |
+ |
+ __ vmls(minuend, multiplier, multiplicand); |
+} |
+ |
+ |
void LCodeGen::DoMathFloorOfDiv(LMathFloorOfDiv* instr) { |
const Register result = ToRegister(instr->result()); |
const Register left = ToRegister(instr->left()); |