| Index: src/x64/lithium-codegen-x64.cc
|
| diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc
|
| index f216019963e2abeef5704700f9ce737ed327cd50..9e718b85ff868f58d263e6f882132dacca10656f 100644
|
| --- a/src/x64/lithium-codegen-x64.cc
|
| +++ b/src/x64/lithium-codegen-x64.cc
|
| @@ -3519,7 +3519,7 @@ void LCodeGen::DoMathFloor(LMathFloor* instr) {
|
| __ bind(&negative_sign);
|
| // Truncate, then compare and compensate.
|
| __ cvttsd2si(output_reg, input_reg);
|
| - __ cvtlsi2sd(xmm_scratch, output_reg);
|
| + __ Cvtlsi2sd(xmm_scratch, output_reg);
|
| __ ucomisd(input_reg, xmm_scratch);
|
| __ j(equal, &done, Label::kNear);
|
| __ subl(output_reg, Immediate(1));
|
| @@ -3568,7 +3568,7 @@ void LCodeGen::DoMathRound(LMathRound* instr) {
|
| __ RecordComment("D2I conversion overflow");
|
| DeoptimizeIf(equal, instr->environment());
|
|
|
| - __ cvtlsi2sd(xmm_scratch, output_reg);
|
| + __ Cvtlsi2sd(xmm_scratch, output_reg);
|
| __ ucomisd(input_reg, xmm_scratch);
|
| __ j(equal, &restore, Label::kNear);
|
| __ subl(output_reg, Immediate(1));
|
| @@ -4474,9 +4474,9 @@ void LCodeGen::DoInteger32ToDouble(LInteger32ToDouble* instr) {
|
| LOperand* output = instr->result();
|
| ASSERT(output->IsDoubleRegister());
|
| if (input->IsRegister()) {
|
| - __ cvtlsi2sd(ToDoubleRegister(output), ToRegister(input));
|
| + __ Cvtlsi2sd(ToDoubleRegister(output), ToRegister(input));
|
| } else {
|
| - __ cvtlsi2sd(ToDoubleRegister(output), ToOperand(input));
|
| + __ Cvtlsi2sd(ToDoubleRegister(output), ToOperand(input));
|
| }
|
| }
|
|
|
| @@ -4693,7 +4693,7 @@ void LCodeGen::EmitNumberUntagD(Register input_reg,
|
| // Smi to XMM conversion
|
| __ bind(&load_smi);
|
| __ SmiToInteger32(kScratchRegister, input_reg);
|
| - __ cvtlsi2sd(result_reg, kScratchRegister);
|
| + __ Cvtlsi2sd(result_reg, kScratchRegister);
|
| __ bind(&done);
|
| }
|
|
|
| @@ -4729,7 +4729,7 @@ void LCodeGen::DoDeferredTaggedToI(LTaggedToI* instr) {
|
| XMMRegister xmm_temp = ToDoubleRegister(instr->temp());
|
| __ movsd(xmm0, FieldOperand(input_reg, HeapNumber::kValueOffset));
|
| __ cvttsd2si(input_reg, xmm0);
|
| - __ cvtlsi2sd(xmm_temp, input_reg);
|
| + __ Cvtlsi2sd(xmm_temp, input_reg);
|
| __ ucomisd(xmm0, xmm_temp);
|
| DeoptimizeIf(not_equal, instr->environment());
|
| DeoptimizeIf(parity_even, instr->environment()); // NaN.
|
| @@ -4811,7 +4811,7 @@ void LCodeGen::DoDoubleToI(LDoubleToI* instr) {
|
| DeoptimizeIf(equal, instr->environment());
|
| } else {
|
| __ cvttsd2si(result_reg, input_reg);
|
| - __ cvtlsi2sd(xmm0, result_reg);
|
| + __ Cvtlsi2sd(xmm0, result_reg);
|
| __ ucomisd(xmm0, input_reg);
|
| DeoptimizeIf(not_equal, instr->environment());
|
| DeoptimizeIf(parity_even, instr->environment()); // NaN.
|
| @@ -4845,7 +4845,7 @@ void LCodeGen::DoDoubleToSmi(LDoubleToSmi* instr) {
|
|
|
| Label done;
|
| __ cvttsd2si(result_reg, input_reg);
|
| - __ cvtlsi2sd(xmm0, result_reg);
|
| + __ Cvtlsi2sd(xmm0, result_reg);
|
| __ ucomisd(xmm0, input_reg);
|
| DeoptimizeIf(not_equal, instr->environment());
|
| DeoptimizeIf(parity_even, instr->environment()); // NaN.
|
|
|