| Index: src/compiler/x64/code-generator-x64.cc
|
| diff --git a/src/compiler/x64/code-generator-x64.cc b/src/compiler/x64/code-generator-x64.cc
|
| index be406fbad26d5ee0b59e870d7b66a589660bf865..db22587e5e9692fcfde915738bad02f3ce1e8d8e 100644
|
| --- a/src/compiler/x64/code-generator-x64.cc
|
| +++ b/src/compiler/x64/code-generator-x64.cc
|
| @@ -947,6 +947,13 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| __ Roundss(i.OutputDoubleRegister(), i.InputDoubleRegister(0), mode);
|
| break;
|
| }
|
| + case kSSEFloat32ToInt32:
|
| + if (instr->InputAt(0)->IsDoubleRegister()) {
|
| + __ Cvttss2si(i.OutputRegister(), i.InputDoubleRegister(0));
|
| + } else {
|
| + __ Cvttss2si(i.OutputRegister(), i.InputOperand(0));
|
| + }
|
| + break;
|
| case kSSEFloat64Cmp:
|
| ASSEMBLE_SSE_BINOP(Ucomisd);
|
| break;
|
|
|