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

Issue 2242002: X64: Make smi memory operations work directly on the embedded value. (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: Make smi memory operations work directly on the embedded value. Adds Operand-relative Operand constructor.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+409 lines, -18 lines) Patch
M src/x64/assembler-x64.h View 1 chunk +5 lines, -1 line 2 comments Download
M src/x64/assembler-x64.cc View 1 chunk +43 lines, -0 lines 4 comments Download
M src/x64/macro-assembler-x64.cc View 4 chunks +4 lines, -17 lines 0 comments Download
M test/cctest/test-macro-assembler-x64.cc View 3 chunks +357 lines, -0 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Lasse Reichstein
10 years, 7 months ago (2010-05-26 06:56:03 UTC) #1
William Hesse
LGTM. http://codereview.chromium.org/2242002/diff/1/2 File src/x64/assembler-x64.cc (right): http://codereview.chromium.org/2242002/diff/1/2#newcode262 src/x64/assembler-x64.cc:262: // Write new operand with same registers, but ...
10 years, 7 months ago (2010-05-26 08:13:24 UTC) #2
Lasse Reichstein
10 years, 7 months ago (2010-05-26 08:34:10 UTC) #3
http://codereview.chromium.org/2242002/diff/1/2
File src/x64/assembler-x64.cc (right):

http://codereview.chromium.org/2242002/diff/1/2#newcode262
src/x64/assembler-x64.cc:262: // Write new operand with same registers, but with
modified displacement.
On 2010/05/26 08:13:24, William Hesse wrote:
> Insert blank line after reading and before writing, to separate the two parts
of
> the function.

Done.

http://codereview.chromium.org/2242002/diff/1/2#newcode263
src/x64/assembler-x64.cc:263: disp_value += offset;
Assertion added.

http://codereview.chromium.org/2242002/diff/1/3
File src/x64/assembler-x64.h (right):

http://codereview.chromium.org/2242002/diff/1/3#newcode305
src/x64/assembler-x64.h:305: // don't overflow.
On 2010/05/26 08:13:24, William Hesse wrote:
> Add assert for no overflow in .cc file - see comment there.

Done.

Powered by Google App Engine
This is Rietveld 408576698