Index: src/ia32/lithium-codegen-ia32.cc |
diff --git a/src/ia32/lithium-codegen-ia32.cc b/src/ia32/lithium-codegen-ia32.cc |
index 7714e9f6e9bae8a59a76f29e136268c548f0a30c..72bb270e7a6fcfe384da3579b12a989e721b9cd2 100644 |
--- a/src/ia32/lithium-codegen-ia32.cc |
+++ b/src/ia32/lithium-codegen-ia32.cc |
@@ -2040,10 +2040,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: { |
// Pass two doubles as arguments on the stack. |