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

Issue 651029: Forking disassembler and simulator for Thumb2 support; (Closed)

Created:
10 years, 10 months ago by haustein
Modified:
7 years, 5 months ago
CC:
v8-dev
Visibility:
Public.

Description

changed as discussed on v8-dev. Needed to re-upload due to issues with my SVN client.

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 5

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 22

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1044 lines, -207 lines) Patch
M src/arm/assembler-arm.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M src/arm/assembler-arm-inl.h View 1 2 3 4 5 6 1 chunk +7 lines, -0 lines 0 comments Download
M src/arm/assembler-thumb2.h View 1 2 3 4 5 6 9 chunks +110 lines, -25 lines 0 comments Download
M src/arm/assembler-thumb2.cc View 1 2 3 4 5 6 62 chunks +169 lines, -125 lines 0 comments Download
M src/arm/assembler-thumb2-inl.h View 1 2 3 4 5 6 5 chunks +48 lines, -9 lines 0 comments Download
M src/arm/constants-arm.h View 1 2 3 4 5 6 5 chunks +271 lines, -25 lines 0 comments Download
M src/arm/disasm-arm.cc View 1 2 3 4 5 6 9 chunks +156 lines, -0 lines 0 comments Download
M src/arm/macro-assembler-arm.h View 1 2 3 4 5 6 1 chunk +0 lines, -3 lines 0 comments Download
M src/arm/macro-assembler-arm.cc View 1 2 3 4 5 6 1 chunk +1 line, -6 lines 0 comments Download
M src/arm/regexp-macro-assembler-arm.cc View 1 2 3 4 5 6 1 chunk +1 line, -1 line 0 comments Download
M src/arm/simulator-arm.h View 1 2 3 4 5 6 2 chunks +8 lines, -1 line 0 comments Download
M src/arm/simulator-arm.cc View 1 2 3 4 5 6 6 chunks +272 lines, -12 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
haustein
changed as discussed on v8-dev. Needed to re-upload due to issues with my SVN client ...
10 years, 10 months ago (2010-02-23 14:03:56 UTC) #1
Erik Corry
http://codereview.chromium.org/651029/diff/1006/48 File src/arm/simulator-arm.cc (right): http://codereview.chromium.org/651029/diff/1006/48#newcode563 src/arm/simulator-arm.cc:563: return v + ((v & 1) ? + Instr::kPCReadOffsetThumb ...
10 years, 10 months ago (2010-02-23 15:10:31 UTC) #2
Erik Corry
http://codereview.chromium.org/651029/diff/1006/55 File src/arm/instr-thumb2.cc (right): http://codereview.chromium.org/651029/diff/1006/55#newcode40 src/arm/instr-thumb2.cc:40: if (Bits0(15, 13) == b111 && Bits0(12, 11) != ...
10 years, 10 months ago (2010-02-24 12:28:58 UTC) #3
Mads Ager (chromium)
A couple of overall comments. I'll let Erik review the actual functionality. http://codereview.chromium.org/651029/diff/3020/4046 File src/SConscript ...
10 years, 10 months ago (2010-02-26 08:50:01 UTC) #4
Erik Corry
http://codereview.chromium.org/651029/diff/3020/4056 File src/arm/assembler-thumb2-inl.h (right): http://codereview.chromium.org/651029/diff/3020/4056#newcode212 src/arm/assembler-thumb2-inl.h:212: if (pc_offset() & 2 != 0) { This doesn't ...
10 years, 10 months ago (2010-02-26 13:07:22 UTC) #5
Erik Corry
Response to question posted through email, not code review tool: http://codereview.chromium.org/651029/diff/3020/4058 File src/arm/assembler-thumb2.cc (right): http://codereview.chromium.org/651029/diff/3020/4058#newcode641 ...
10 years, 9 months ago (2010-03-02 14:03:55 UTC) #6
Erik Corry
The stuff from the new .h file can be moved into constants-arm.h. The stuff from ...
10 years, 9 months ago (2010-03-02 14:15:38 UTC) #7
haustein
10 years, 9 months ago (2010-03-02 16:49:46 UTC) #8
Sorry, didn't immediate realize the review tool is not updated from email; will
stick to the tool now.

On 2010/03/02 14:15:38, Erik Corry wrote:
> The stuff from the new .h file can be moved into constants-arm.h.  The stuff
> from the new .cc file can go either in the simulator or disassembler .cc file.
> 

Done. 
Also removed the bxxxx constants; replaced them with hex/Bxx for now:
consolidation of constants.arm.h, assembler-arm.h and assembler-thumb2.h should
probably be a separate CL. 

> http://codereview.chromium.org/651029/diff/3020/4057
> File src/arm/instr-thumb2.h (right):
> 
> http://codereview.chromium.org/651029/diff/3020/4057#newcode229
> src/arm/instr-thumb2.h:229: int imm_;
> On 2010/02/26 13:07:23, Erik Corry wrote:
> > The instruction needs to be a very lightweight object.  This thing has 15
> > fields, most of which will be unused in most instructions.  Just
initializing
> > this object is likely to cost you.
> > 
> > I suggest that you leave instr0_ and instr1_ and make all the rest inlined
> > accessor functions.
> 
> Having thought about this a bit more I can see that the irregularity of the T2
> instruction set makes this a reasonable option.
> 
> In the slightly longer run we would like to see the T2 and ARM simulators use
> the same overall structure.  The easiest way to achieve this would be to move
> the ARM instruction decoder to use the same infrastructure.  I don't feel that
> has to be a part of this first change list though.

Powered by Google App Engine
This is Rietveld 408576698