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 9297a533f3682891b1befe1de8dee8c589e2afd6..8091ff96928c54c19a999556a8d6cd2f9f228ac4 100644 |
--- a/src/compiler/mips64/code-generator-mips64.cc |
+++ b/src/compiler/mips64/code-generator-mips64.cc |
@@ -639,6 +639,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ MovFromFloatResult(i.OutputSingleRegister()); |
break; |
} |
+ case kMips64AbsS: |
+ __ abs_s(i.OutputSingleRegister(), i.InputSingleRegister(0)); |
+ break; |
case kMips64SqrtS: { |
__ sqrt_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
@@ -677,6 +680,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ MovFromFloatResult(i.OutputDoubleRegister()); |
break; |
} |
+ case kMips64AbsD: |
+ __ abs_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
case kMips64SqrtD: { |
__ sqrt_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |