| 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 b296ab6fe407b53efc5e0845b695c5fb3f6b2715..c466c4c3ad137635e4e81cb765260d58a5766d5c 100644
|
| --- a/src/compiler/x64/code-generator-x64.cc
|
| +++ b/src/compiler/x64/code-generator-x64.cc
|
| @@ -1049,6 +1049,10 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| } else {
|
| __ Cvttss2siq(i.OutputRegister(), i.InputOperand(0));
|
| }
|
| + if (instr->OutputCount() > 1) {
|
| + __ Set(i.OutputRegister(1), 0x8000000000000000);
|
| + __ subq(i.OutputRegister(1), i.OutputRegister(0));
|
| + }
|
| break;
|
| case kSSEFloat64ToInt64:
|
| if (instr->InputAt(0)->IsDoubleRegister()) {
|
|
|