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 4247a84c5404fb6b47d2884a1c71a35e171f82ff..ec545156e55704b2d5701b2c56ace6baaa6376ff 100644 |
--- a/src/compiler/mips/code-generator-mips.cc |
+++ b/src/compiler/mips/code-generator-mips.cc |
@@ -577,6 +577,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ MovFromFloatResult(i.OutputSingleRegister()); |
break; |
} |
+ case kMipsAbsS: |
+ __ abs_s(i.OutputSingleRegister(), i.InputSingleRegister(0)); |
+ break; |
case kMipsSqrtS: { |
__ sqrt_s(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |
@@ -615,6 +618,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) { |
__ MovFromFloatResult(i.OutputDoubleRegister()); |
break; |
} |
+ case kMipsAbsD: |
+ __ abs_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
+ break; |
case kMipsSqrtD: { |
__ sqrt_d(i.OutputDoubleRegister(), i.InputDoubleRegister(0)); |
break; |