Commit 6b7fe028 authored by vegorov@chromium.org's avatar vegorov@chromium.org

Fix typo in the CheckSSE2OperandIsInt32: use bitwise not instead of integer negation.

R=ulan@chromium.org
BUG=

Review URL: https://codereview.chromium.org/11662009

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13274 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent b64f8343
......@@ -2872,7 +2872,8 @@ void FloatingPointHelper::CheckSSE2OperandIsInt32(MacroAssembler* masm,
__ cvtsi2sd(xmm_scratch, scratch);
__ pcmpeqd(xmm_scratch, operand);
__ movmskps(scratch, xmm_scratch);
__ neg(scratch);
// Two least significant bits should be both set.
__ not_(scratch);
__ test(scratch, Immediate(3));
__ j(not_zero, non_int32);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment