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

Issue 6676042: Improve ARM-Simulator. (Closed)

Created:
9 years, 9 months ago by Karl Klose
Modified:
9 years, 7 months ago
CC:
v8-dev
Visibility:
Public.

Description

Improve ARM-Simulator. This patch - removes the unimplemented code crash when rendering invalid/unknown instructions and prints "unknown" instead. - prints the beginning of the constant pool marker. - adds "da" as a shortcut for "disasm". - print hexadecimal representation of double and single registers. This makes it easier to debug move/conversion code that uses temporary int32 values in floating point registers. - annotates the stack with short prints of the values (HeapObjects and smis), - makes disasm take an address or a register as second argument without a third argument, which defaults to printing ten instructions.

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments. #

Patch Set 3 : Use undefined instruction as constant pool marker. #

Patch Set 4 : Small fix. #

Patch Set 5 : Update to use isolates. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+100 lines, -28 lines) Patch
M src/arm/assembler-arm.cc View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M src/arm/constants-arm.h View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M src/arm/disasm-arm.cc View 1 2 3 4 8 chunks +42 lines, -12 lines 0 comments Download
M src/arm/simulator-arm.cc View 1 2 3 4 5 chunks +51 lines, -14 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Karl Klose
9 years, 9 months ago (2011-03-16 20:21:04 UTC) #1
Søren Thygesen Gjesse
LGTM http://codereview.chromium.org/6676042/diff/1/src/arm/disasm-arm.cc File src/arm/disasm-arm.cc (right): http://codereview.chromium.org/6676042/diff/1/src/arm/disasm-arm.cc#newcode1326 src/arm/disasm-arm.cc:1326: Format(instr, "constant pool begin"); Maybe print the constant ...
9 years, 9 months ago (2011-03-16 22:28:42 UTC) #2
Karl Klose
I also updated the help text to include the changes to disasm. http://codereview.chromium.org/6676042/diff/1/src/arm/disasm-arm.cc File src/arm/disasm-arm.cc ...
9 years, 9 months ago (2011-03-17 10:10:07 UTC) #3
Karl Klose
I uploaded a new patch. The value used as constant pool marker could actually be ...
9 years, 9 months ago (2011-03-17 14:23:22 UTC) #4
Søren Thygesen Gjesse
9 years, 9 months ago (2011-03-21 08:08:43 UTC) #5
LGTM

Powered by Google App Engine
This is Rietveld 408576698