| Index: src/compiler/ppc/code-generator-ppc.cc
|
| diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc
|
| index b87585a7844eaf0bf7159779157762b56fb1dc05..446c1d61e1c21fbdb15146636fa7cd227af06346 100644
|
| --- a/src/compiler/ppc/code-generator-ppc.cc
|
| +++ b/src/compiler/ppc/code-generator-ppc.cc
|
| @@ -1196,14 +1196,18 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| break;
|
| #endif
|
| case kPPC_Int32ToFloat32:
|
| - __ ConvertIntToFloat(i.OutputDoubleRegister(), i.InputRegister(0),
|
| - kScratchReg);
|
| + __ ConvertIntToFloat(i.InputRegister(0), i.OutputDoubleRegister());
|
| DCHECK_EQ(LeaveRC, i.OutputRCBit());
|
| break;
|
| case kPPC_Int32ToDouble:
|
| __ ConvertIntToDouble(i.InputRegister(0), i.OutputDoubleRegister());
|
| DCHECK_EQ(LeaveRC, i.OutputRCBit());
|
| break;
|
| + case kPPC_Uint32ToFloat32:
|
| + __ ConvertUnsignedIntToFloat(i.InputRegister(0),
|
| + i.OutputDoubleRegister());
|
| + DCHECK_EQ(LeaveRC, i.OutputRCBit());
|
| + break;
|
| case kPPC_Uint32ToDouble:
|
| __ ConvertUnsignedIntToDouble(i.InputRegister(0),
|
| i.OutputDoubleRegister());
|
|
|