| Index: src/x64/codegen-x64.cc
|
| diff --git a/src/x64/codegen-x64.cc b/src/x64/codegen-x64.cc
|
| index 8ef577fea4848807cd4d8b44044ecf7147fd24c2..afe0e3b7f529f61b2c6a7be184e4cc1226d119cc 100644
|
| --- a/src/x64/codegen-x64.cc
|
| +++ b/src/x64/codegen-x64.cc
|
| @@ -213,7 +213,7 @@ ModuloFunction CreateModuloFunction() {
|
| __ j(zero, &valid_result);
|
| __ fstp(0); // Drop result in st(0).
|
| int64_t kNaNValue = V8_INT64_C(0x7ff8000000000000);
|
| - __ movq(rcx, kNaNValue, RelocInfo::NONE64);
|
| + __ movq(rcx, kNaNValue);
|
| __ movq(Operand(rsp, kPointerSize), rcx);
|
| __ movsd(xmm0, Operand(rsp, kPointerSize));
|
| __ jmp(&return_result);
|
| @@ -338,7 +338,7 @@ void ElementsTransitionGenerator::GenerateSmiToDouble(
|
| STATIC_ASSERT(FixedDoubleArray::kHeaderSize == FixedArray::kHeaderSize);
|
|
|
| Label loop, entry, convert_hole;
|
| - __ movq(r15, BitCast<int64_t, uint64_t>(kHoleNanInt64), RelocInfo::NONE64);
|
| + __ movq(r15, BitCast<int64_t, uint64_t>(kHoleNanInt64));
|
| // r15: the-hole NaN
|
| __ jmp(&entry);
|
|
|
| @@ -440,7 +440,7 @@ void ElementsTransitionGenerator::GenerateDoubleToObject(
|
| __ movq(FieldOperand(r11, FixedArray::kLengthOffset), r14);
|
|
|
| // Prepare for conversion loop.
|
| - __ movq(rsi, BitCast<int64_t, uint64_t>(kHoleNanInt64), RelocInfo::NONE64);
|
| + __ movq(rsi, BitCast<int64_t, uint64_t>(kHoleNanInt64));
|
| __ LoadRoot(rdi, Heap::kTheHoleValueRootIndex);
|
| // rsi: the-hole NaN
|
| // rdi: pointer to the-hole
|
| @@ -466,7 +466,7 @@ void ElementsTransitionGenerator::GenerateDoubleToObject(
|
| // Non-hole double, copy value into a heap number.
|
| __ AllocateHeapNumber(rax, r15, &gc_required);
|
| // rax: new heap number
|
| - __ movq(FieldOperand(rax, HeapNumber::kValueOffset), r14);
|
| + __ MoveDouble(FieldOperand(rax, HeapNumber::kValueOffset), r14);
|
| __ movq(FieldOperand(r11,
|
| r9,
|
| times_pointer_size,
|
| @@ -635,7 +635,7 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm,
|
|
|
| Label done;
|
|
|
| - __ movq(kScratchRegister, ExternalReference::math_exp_constants(0));
|
| + __ Move(kScratchRegister, ExternalReference::math_exp_constants(0));
|
| __ movsd(double_scratch, Operand(kScratchRegister, 0 * kDoubleSize));
|
| __ xorpd(result, result);
|
| __ ucomisd(double_scratch, input);
|
| @@ -654,10 +654,10 @@ void MathExpGenerator::EmitMathExp(MacroAssembler* masm,
|
| __ and_(temp2, Immediate(0x7ff));
|
| __ shr(temp1, Immediate(11));
|
| __ mulsd(double_scratch, Operand(kScratchRegister, 5 * kDoubleSize));
|
| - __ movq(kScratchRegister, ExternalReference::math_exp_log_table());
|
| + __ Move(kScratchRegister, ExternalReference::math_exp_log_table());
|
| __ shl(temp1, Immediate(52));
|
| __ or_(temp1, Operand(kScratchRegister, temp2, times_8, 0));
|
| - __ movq(kScratchRegister, ExternalReference::math_exp_constants(0));
|
| + __ Move(kScratchRegister, ExternalReference::math_exp_constants(0));
|
| __ subsd(double_scratch, input);
|
| __ movsd(input, double_scratch);
|
| __ subsd(result, double_scratch);
|
|
|