| 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 cc76a6cdf4e9f7d4c580db74921cfc9afe60280d..6bacda0cb6dc3c9a2774cb1ffd577187d0571572 100644
|
| --- a/src/compiler/x87/code-generator-x87.cc
|
| +++ b/src/compiler/x87/code-generator-x87.cc
|
| @@ -790,6 +790,11 @@ CodeGenerator::CodeGenResult CodeGenerator::AssembleArchInstruction(
|
| ASSEMBLE_IEEE754_UNOP(sin);
|
| __ X87SetFPUCW(0x037F);
|
| break;
|
| + case kIeee754Float64Tan:
|
| + __ X87SetFPUCW(0x027F);
|
| + ASSEMBLE_IEEE754_UNOP(tan);
|
| + __ X87SetFPUCW(0x037F);
|
| + break;
|
| case kX87Add:
|
| if (HasImmediateInput(instr, 1)) {
|
| __ add(i.InputOperand(0), i.InputImmediate(1));
|
|
|