| 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 f5407494aedc081263f0f7e0e173cfcba806a5c0..cb5536c3620a3f5ff975d1ffdc0f838c5e02bb47 100644
|
| --- a/src/compiler/x64/code-generator-x64.cc
|
| +++ b/src/compiler/x64/code-generator-x64.cc
|
| @@ -849,7 +849,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| ASSEMBLE_SSE_BINOP(divsd);
|
| // Don't delete this mov. It may improve performance on some CPUs,
|
| // when there is a (v)mulsd depending on the result.
|
| - __ movaps(i.OutputDoubleRegister(), i.OutputDoubleRegister());
|
| + __ Movapd(i.OutputDoubleRegister(), i.OutputDoubleRegister());
|
| break;
|
| case kSSEFloat64Mod: {
|
| __ subq(rsp, Immediate(kDoubleSize));
|
| @@ -1004,7 +1004,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| ASSEMBLE_AVX_BINOP(vdivss);
|
| // Don't delete this mov. It may improve performance on some CPUs,
|
| // when there is a (v)mulss depending on the result.
|
| - __ movaps(i.OutputDoubleRegister(), i.OutputDoubleRegister());
|
| + __ Movaps(i.OutputDoubleRegister(), i.OutputDoubleRegister());
|
| break;
|
| case kAVXFloat32Max:
|
| ASSEMBLE_AVX_BINOP(vmaxss);
|
| @@ -1034,7 +1034,7 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
| ASSEMBLE_AVX_BINOP(vdivsd);
|
| // Don't delete this mov. It may improve performance on some CPUs,
|
| // when there is a (v)mulsd depending on the result.
|
| - __ movaps(i.OutputDoubleRegister(), i.OutputDoubleRegister());
|
| + __ Movapd(i.OutputDoubleRegister(), i.OutputDoubleRegister());
|
| break;
|
| case kAVXFloat64Max:
|
| ASSEMBLE_AVX_BINOP(vmaxsd);
|
| @@ -1739,7 +1739,7 @@ void CodeGenerator::AssembleMove(InstructionOperand* source,
|
| XMMRegister src = g.ToDoubleRegister(source);
|
| if (destination->IsDoubleRegister()) {
|
| XMMRegister dst = g.ToDoubleRegister(destination);
|
| - __ movaps(dst, src);
|
| + __ Movapd(dst, src);
|
| } else {
|
| DCHECK(destination->IsDoubleStackSlot());
|
| Operand dst = g.ToOperand(destination);
|
| @@ -1790,9 +1790,9 @@ void CodeGenerator::AssembleSwap(InstructionOperand* source,
|
| // available as a fixed scratch register.
|
| XMMRegister src = g.ToDoubleRegister(source);
|
| XMMRegister dst = g.ToDoubleRegister(destination);
|
| - __ movaps(xmm0, src);
|
| - __ movaps(src, dst);
|
| - __ movaps(dst, xmm0);
|
| + __ Movapd(xmm0, src);
|
| + __ Movapd(src, dst);
|
| + __ Movapd(dst, xmm0);
|
| } else if (source->IsDoubleRegister() && destination->IsDoubleStackSlot()) {
|
| // XMM register-memory swap. We rely on having xmm0
|
| // available as a fixed scratch register.
|
|
|