Index: src/compiler/arm64/instruction-selector-arm64.cc |
diff --git a/src/compiler/arm64/instruction-selector-arm64.cc b/src/compiler/arm64/instruction-selector-arm64.cc |
index 72661af4c381f810fcb04a6e546bb7f29a66f6e8..09c7f2fd538b16927ae5664a1d418e1e41927f3a 100644 |
--- a/src/compiler/arm64/instruction-selector-arm64.cc |
+++ b/src/compiler/arm64/instruction-selector-arm64.cc |
@@ -1295,13 +1295,13 @@ void InstructionSelector::VisitBranch(Node* branch, BasicBlock* tbranch, |
return VisitWordCompare(this, value, kArm64Cmp, &cont, false, |
kArithmeticImm); |
case IrOpcode::kFloat64Equal: |
- cont.OverwriteAndNegateIfEqual(kUnorderedEqual); |
+ cont.OverwriteAndNegateIfEqual(kEqual); |
return VisitFloat64Compare(this, value, &cont); |
case IrOpcode::kFloat64LessThan: |
- cont.OverwriteAndNegateIfEqual(kUnorderedLessThan); |
+ cont.OverwriteAndNegateIfEqual(kUnsignedLessThan); |
return VisitFloat64Compare(this, value, &cont); |
case IrOpcode::kFloat64LessThanOrEqual: |
- cont.OverwriteAndNegateIfEqual(kUnorderedLessThanOrEqual); |
+ cont.OverwriteAndNegateIfEqual(kUnsignedLessThanOrEqual); |
return VisitFloat64Compare(this, value, &cont); |
case IrOpcode::kProjection: |
// Check if this is the overflow output projection of an |
@@ -1497,19 +1497,19 @@ void InstructionSelector::VisitUint64LessThan(Node* node) { |
void InstructionSelector::VisitFloat64Equal(Node* node) { |
- FlagsContinuation cont(kUnorderedEqual, node); |
+ FlagsContinuation cont(kEqual, node); |
VisitFloat64Compare(this, node, &cont); |
} |
void InstructionSelector::VisitFloat64LessThan(Node* node) { |
- FlagsContinuation cont(kUnorderedLessThan, node); |
+ FlagsContinuation cont(kUnsignedLessThan, node); |
VisitFloat64Compare(this, node, &cont); |
} |
void InstructionSelector::VisitFloat64LessThanOrEqual(Node* node) { |
- FlagsContinuation cont(kUnorderedLessThanOrEqual, node); |
+ FlagsContinuation cont(kUnsignedLessThanOrEqual, node); |
VisitFloat64Compare(this, node, &cont); |
} |
@@ -1525,6 +1525,7 @@ InstructionSelector::SupportedMachineOperatorFlags() { |
MachineOperatorBuilder::kInt32DivIsSafe | |
MachineOperatorBuilder::kUint32DivIsSafe; |
} |
+ |
} // namespace compiler |
} // namespace internal |
} // namespace v8 |