Index: src/compiler/arm/instruction-selector-arm.cc |
diff --git a/src/compiler/arm/instruction-selector-arm.cc b/src/compiler/arm/instruction-selector-arm.cc |
index 93b2a13b72c95d738d258892decc2df250496240..1fdc12b9032862a0663f0930a3f5bfbe3e9beb10 100644 |
--- a/src/compiler/arm/instruction-selector-arm.cc |
+++ b/src/compiler/arm/instruction-selector-arm.cc |
@@ -1440,6 +1440,13 @@ void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
VisitRR(this, kArmVrintnF64, node); |
} |
+void InstructionSelector::VisitFloat32Neg(Node* node) { |
+ VisitRR(this, kArmVnegF32, node); |
+} |
+ |
+void InstructionSelector::VisitFloat64Neg(Node* node) { |
+ VisitRR(this, kArmVnegF64, node); |
+} |
void InstructionSelector::EmitPrepareArguments( |
ZoneVector<PushParameter>* arguments, const CallDescriptor* descriptor, |
@@ -1963,7 +1970,9 @@ InstructionSelector::SupportedMachineOperatorFlags() { |
MachineOperatorBuilder::kFloat32Min | |
MachineOperatorBuilder::kFloat32Max | |
MachineOperatorBuilder::kFloat64Min | |
- MachineOperatorBuilder::kFloat64Max; |
+ MachineOperatorBuilder::kFloat64Max | |
+ MachineOperatorBuilder::kFloat32Neg | |
+ MachineOperatorBuilder::kFloat64Neg; |
} |
return flags; |
} |