Index: src/compiler/mips/instruction-selector-mips.cc |
diff --git a/src/compiler/mips/instruction-selector-mips.cc b/src/compiler/mips/instruction-selector-mips.cc |
index 5e8e3b1d43a739512dfc76204136dfd03cc73436..4d3577fd26f80cfc3330690eb22b262e63b83065 100644 |
--- a/src/compiler/mips/instruction-selector-mips.cc |
+++ b/src/compiler/mips/instruction-selector-mips.cc |
@@ -680,13 +680,13 @@ void VisitWordCompareZero(InstructionSelector* selector, Node* user, |
cont->OverwriteAndNegateIfEqual(kUnsignedLessThanOrEqual); |
return VisitWordCompare(selector, value, cont); |
case IrOpcode::kFloat64Equal: |
- cont->OverwriteAndNegateIfEqual(kUnorderedEqual); |
+ cont->OverwriteAndNegateIfEqual(kEqual); |
return VisitFloat64Compare(selector, value, cont); |
case IrOpcode::kFloat64LessThan: |
- cont->OverwriteAndNegateIfEqual(kUnorderedLessThan); |
+ cont->OverwriteAndNegateIfEqual(kUnsignedLessThan); |
return VisitFloat64Compare(selector, value, cont); |
case IrOpcode::kFloat64LessThanOrEqual: |
- cont->OverwriteAndNegateIfEqual(kUnorderedLessThanOrEqual); |
+ cont->OverwriteAndNegateIfEqual(kUnsignedLessThanOrEqual); |
return VisitFloat64Compare(selector, value, cont); |
case IrOpcode::kProjection: |
// Check if this is the overflow output projection of an |
@@ -798,19 +798,19 @@ void InstructionSelector::VisitInt32SubWithOverflow(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); |
} |