Index: src/compiler/x87/code-generator-x87.cc |
diff --git a/src/compiler/x87/code-generator-x87.cc b/src/compiler/x87/code-generator-x87.cc |
index c2dd40c56b4ba3dfa0b468a4f3e2a2d5e8c11d82..0b182d5c711cb14184ce3665c755a936a3c8a70b 100644 |
--- a/src/compiler/x87/code-generator-x87.cc |
+++ b/src/compiler/x87/code-generator-x87.cc |
@@ -762,6 +762,9 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
ASSEMBLE_IEEE754_UNOP(cos); |
__ X87SetFPUCW(0x037F); |
break; |
+ case kIeee754Float64Cosh: |
+ ASSEMBLE_IEEE754_UNOP(cosh); |
+ break; |
case kIeee754Float64Expm1: |
__ X87SetFPUCW(0x027F); |
ASSEMBLE_IEEE754_UNOP(expm1); |
@@ -800,11 +803,17 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction( |
ASSEMBLE_IEEE754_UNOP(sin); |
__ X87SetFPUCW(0x037F); |
break; |
+ case kIeee754Float64Sinh: |
+ ASSEMBLE_IEEE754_UNOP(sinh); |
+ break; |
case kIeee754Float64Tan: |
__ X87SetFPUCW(0x027F); |
ASSEMBLE_IEEE754_UNOP(tan); |
__ X87SetFPUCW(0x037F); |
break; |
+ case kIeee754Float64Tanh: |
+ ASSEMBLE_IEEE754_UNOP(tanh); |
+ break; |
case kX87Add: |
if (HasImmediateInput(instr, 1)) { |
__ add(i.InputOperand(0), i.InputImmediate(1)); |