| Index: src/compiler/ia32/code-generator-ia32.cc
|
| diff --git a/src/compiler/ia32/code-generator-ia32.cc b/src/compiler/ia32/code-generator-ia32.cc
|
| index 3a3fd795d8d38cd164fc68e7f6129265548d05f5..c476eaa9eb1aec659be086b7726a8f57a7872bdf 100644
|
| --- a/src/compiler/ia32/code-generator-ia32.cc
|
| +++ b/src/compiler/ia32/code-generator-ia32.cc
|
| @@ -303,8 +303,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| case kSSEFloat64ToUint32: {
|
| XMMRegister scratch = xmm0;
|
| __ Move(scratch, -2147483648.0);
|
| - // TODO(turbofan): IA32 SSE subsd() should take an operand.
|
| - __ addsd(scratch, i.InputDoubleRegister(0));
|
| + __ addsd(scratch, i.InputOperand(0));
|
| __ cvttsd2si(i.OutputRegister(), scratch);
|
| __ add(i.OutputRegister(), Immediate(0x80000000));
|
| break;
|
|
|