Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Issue 2048007: X64: Made bit-fiddling fallback for double-to-int32 conversion. (Closed)

Created:
10 years, 7 months ago by Lasse Reichstein
Modified:
9 years, 6 months ago
Reviewers:
William Hesse
CC:
v8-dev
Visibility:
Public.

Description

X64: Made bit-fiddling fallback for double-to-int32 conversion.

Patch Set 1 #

Patch Set 2 : Convert an instance of not_ to notl. #

Patch Set 3 : Changed IntegerConvert to not always return result in rcx. #

Patch Set 4 : Optimized a bit, fixed comments. #

Total comments: 9

Patch Set 5 : Addressed review comments. Removed setcc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -30 lines) Patch
M src/x64/assembler-x64.h View 1 chunk +8 lines, -0 lines 0 comments Download
M src/x64/codegen-x64.cc View 1 2 3 4 4 chunks +68 lines, -30 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Lasse Reichstein
Short but convoluted bit fiddling.
10 years, 7 months ago (2010-05-11 09:10:12 UTC) #1
William Hesse
LGTM if it improves performance. http://codereview.chromium.org/2048007/diff/7001/8001 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/2048007/diff/7001/8001#newcode8061 src/x64/codegen-x64.cc:8061: // Trashes rdi, rbx ...
10 years, 7 months ago (2010-05-11 10:38:16 UTC) #2
Lasse Reichstein
http://codereview.chromium.org/2048007/diff/7001/8001 File src/x64/codegen-x64.cc (right): http://codereview.chromium.org/2048007/diff/7001/8001#newcode8061 src/x64/codegen-x64.cc:8061: // Trashes rdi, rbx and rcx. Result cannot be ...
10 years, 7 months ago (2010-05-11 11:24:51 UTC) #3
Lasse Reichstein
10 years, 7 months ago (2010-05-12 11:06:25 UTC) #4
http://codereview.chromium.org/2048007/diff/7001/8001
File src/x64/codegen-x64.cc (right):

http://codereview.chromium.org/2048007/diff/7001/8001#newcode8125
src/x64/codegen-x64.cc:8125: 
It does seem to have a (slight) positive performance impact, so I'll commit it.

Powered by Google App Engine
This is Rietveld 408576698