Index: src/compiler/mips64/code-generator-mips64.cc |
diff --git a/src/compiler/mips64/code-generator-mips64.cc b/src/compiler/mips64/code-generator-mips64.cc |
index 5fcf95befedeb36381363a88c9b9fbde20099de0..5314de760a3c6eba487be036403b01ddf83ccfe0 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -684,6 +684,14 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ sqrt_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
} |
+ case kMips64MaxS: |
+ __ max_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0), |
+ i.InputDoubleRegister(1)); |
+ break; |
+ case kMips64MinS: |
+ __ min_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0), |
+ i.InputDoubleRegister(1)); |
+ break; |
case kMips64CmpD: |
// Psuedo-instruction used for FP cmp/branch. No opcode emitted here. |
break; |
@@ -725,6 +733,14 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ sqrt_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
} |
+ case kMips64MaxD: |
+ __ max_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0), |
+ i.InputDoubleRegister(1)); |
+ break; |
+ case kMips64MinD: |
+ __ min_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0), |
+ i.InputDoubleRegister(1)); |
+ break; |
case kMips64Float64RoundDown: { |
ASSEMBLE_ROUND_DOUBLE_TO_DOUBLE(floor_l_d, Floor); |
break; |