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

Issue 3412028: Support dec_b instruction in ia32 and x64 disassembler. (Closed)

Created:
10 years, 3 months ago by Vladislav Kaznacheev
Modified:
9 years, 7 months ago
Reviewers:
antonm, Vitaly Repeshko
CC:
v8-dev
Visibility:
Public.

Description

Support dec_b instruction in ia32 and x64 disassembler. Committed: http://code.google.com/p/v8/source/detail?r=5515

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -6 lines) Patch
M src/ia32/disasm-ia32.cc View 1 1 chunk +3 lines, -3 lines 2 comments Download
M src/x64/disasm-x64.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M test/cctest/test-disasm-ia32.cc View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
Vladislav Kaznacheev
10 years, 3 months ago (2010-09-23 18:05:59 UTC) #1
Vladislav Kaznacheev
Simplified the code on Vitaly's advise.
10 years, 3 months ago (2010-09-23 18:28:12 UTC) #2
Vitaly Repeshko
LGTM if it works.
10 years, 3 months ago (2010-09-23 18:29:41 UTC) #3
Vladislav Kaznacheev
The disassembler test works, and the output contains decb/dec_b instructions. On 2010/09/23 18:29:41, Vitaly wrote: ...
10 years, 3 months ago (2010-09-23 19:01:45 UTC) #4
antonm
http://codereview.chromium.org/3412028/diff/5001/6001 File src/ia32/disasm-ia32.cc (right): http://codereview.chromium.org/3412028/diff/5001/6001#newcode1199 src/ia32/disasm-ia32.cc:1199: data += PrintRightOperand(data); shouldn't that be PrintRightByteOperand?
10 years, 3 months ago (2010-09-23 19:23:09 UTC) #5
Vladislav Kaznacheev
10 years, 3 months ago (2010-09-23 19:29:24 UTC) #6
http://codereview.chromium.org/3412028/diff/5001/6001
File src/ia32/disasm-ia32.cc (right):

http://codereview.chromium.org/3412028/diff/5001/6001#newcode1199
src/ia32/disasm-ia32.cc:1199: data += PrintRightOperand(data);
PrintRightByteOperand would print something like dec_b [cl] while we want dec_b
[ecx]
On 2010/09/23 19:23:09, antonm wrote:
> shouldn't that be PrintRightByteOperand?
>

Powered by Google App Engine
This is Rietveld 408576698