Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 8da76fa673ed465cf6228b08ad8ffe1deb68f594..3b72d690fe514c17d17d939b3ad3b13d24748b86 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -2076,10 +2076,10 @@ void LCodeGen::DoArithmeticD(LArithmeticD* instr) { |
} else { |
DCHECK(result.is(left)); |
__ divsd(left, right); |
- // Don't delete this mov. It may improve performance on some CPUs, |
- // when there is a mulsd depending on the result |
- __ movaps(left, left); |
} |
+ // Don't delete this mov. It may improve performance on some CPUs, |
+ // when there is a (v)mulsd depending on the result |
+ __ movaps(result, result); |
break; |
case Token::MOD: { |
XMMRegister xmm_scratch = double_scratch0(); |