Index: src/x64/lithium-codegen-x64.cc |
diff --git a/src/x64/lithium-codegen-x64.cc b/src/x64/lithium-codegen-x64.cc |
index 508ce5c1693f4c0102ba02301e3a412ec43aa4b4..85895b39039d2eb460e4f9bd828c781c1cbd9830 100644 |
--- a/src/x64/lithium-codegen-x64.cc |
+++ b/src/x64/lithium-codegen-x64.cc |
@@ -3369,7 +3369,7 @@ void LCodeGen::DoMathAbs(LMathAbs* instr) { |
XMMRegister input_reg = ToDoubleRegister(instr->value()); |
__ xorps(scratch, scratch); |
__ subsd(scratch, input_reg); |
- __ andpd(input_reg, scratch); |
+ __ andps(input_reg, scratch); |
Benedikt Meurer
2013/10/28 11:23:18
Why use andps instead of andpd here?
|
} else if (r.IsInteger32()) { |
EmitIntegerMathAbs(instr); |
} else if (r.IsSmi()) { |