LGTM.

http://codereview.chromium.org/6532054/diff/1/src/x64/lithium-codegen-x64.cc
File src/x64/lithium-codegen-x64.cc (right):

http://codereview.chromium.org/6532054/diff/1/src/x64/lithium-codegen-x64.cc#newcode2097
src/x64/lithium-codegen-x64.cc:2097: __ cvttsd2si(output_reg,
input_reg);
Use the "q" version, so you can properly handle min-int.

http://codereview.chromium.org/6532054/diff/1/src/x64/lithium-codegen-x64.cc#newcode2113
src/x64/lithium-codegen-x64.cc:2113: __ movsd(xmm_scratch,
Operand(kScratchRegister, 0));
Why load from memory when we have 64-bit immediates. Just load the
bit-pattern into a scratch register and then to an XMM register.

http://codereview.chromium.org/6532054/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to