Index: src/compiler/s390/instruction-selector-s390.cc |
diff --git a/src/compiler/s390/instruction-selector-s390.cc b/src/compiler/s390/instruction-selector-s390.cc |
index 9a0521aaa2190fe230addf16a4de9b1e5bed52fd..f2358d5dbb05fe8a9b9a277f6bd891dc2a838a40 100644 |
--- a/src/compiler/s390/instruction-selector-s390.cc |
+++ b/src/compiler/s390/instruction-selector-s390.cc |
@@ -1277,9 +1277,13 @@ void InstructionSelector::VisitFloat64RoundTiesEven(Node* node) { |
UNREACHABLE(); |
} |
-void InstructionSelector::VisitFloat32Neg(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat32Neg(Node* node) { |
+ VisitRR(this, kS390_NegFloat, node); |
+} |
-void InstructionSelector::VisitFloat64Neg(Node* node) { UNREACHABLE(); } |
+void InstructionSelector::VisitFloat64Neg(Node* node) { |
+ VisitRR(this, kS390_NegDouble, node); |
+} |
void InstructionSelector::VisitInt32AddWithOverflow(Node* node) { |
if (Node* ovf = NodeProperties::FindProjection(node, 1)) { |