Index: src/compiler/mips/code-generator-mips.cc |
diff --git a/src/compiler/mips/code-generator-mips.cc b/src/compiler/mips/code-generator-mips.cc |
index efdeb6415dfa2bffeaa845ccb0f78e31d02f8282..c4d193fec0995caa9efd351e4e0e7609364e85cd 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -213,6 +213,13 @@ class OutOfLineCeil final : public OutOfLineRound { |
}; |
+class OutOfLineTiesEven final : public OutOfLineRound { |
+ public: |
+ OutOfLineTiesEven(CodeGenerator* gen, DoubleRegister result) |
+ : OutOfLineRound(gen, result) {} |
+}; |
+ |
+ |
class OutOfLineRecordWrite final : public OutOfLineCode { |
public: |
OutOfLineRecordWrite(CodeGenerator* gen, Register object, Register index, |
@@ -793,6 +800,10 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
ASSEMBLE_ROUND_DOUBLE_TO_DOUBLE(ceil_l_d, Ceil); |
break; |
} |
+ case kMipsFloat64RoundTiesEven: { |
+ ASSEMBLE_ROUND_DOUBLE_TO_DOUBLE(round_l_d, TiesEven); |
+ break; |
+ } |
case kMipsFloat64Max: { |
// (b < a) ? a : b |
if (IsMipsArchVariant(kMips32r6)) { |
@@ -996,7 +1007,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
UNREACHABLE(); // currently unsupported checked int64 load/store. |
break; |
} |
-} |
+} // NOLINT(readability/fn_size) |
#define UNSUPPORTED_COND(opcode, condition) \ |