Index: src/compiler/mips64/instruction-selector-mips64.cc |
diff --git a/src/compiler/mips64/instruction-selector-mips64.cc b/src/compiler/mips64/instruction-selector-mips64.cc |
index 35ad16ba23b51c58ee299bc2bfe29fc85673eefe..a92d31169c47e50eafed9e1e5d1e763476cb2e3d 100644 |
--- a/src/compiler/mips64/instruction-selector-mips64.cc |
+++ b/src/compiler/mips64/instruction-selector-mips64.cc |
@@ -909,13 +909,13 @@ void VisitWordCompareZero(InstructionSelector* selector, Node* user, |
cont->OverwriteAndNegateIfEqual(kUnsignedLessThan); |
return VisitWord64Compare(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 |
@@ -1049,19 +1049,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); |
} |