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

Issue 12541003: - Add a skeleton MIPS assembler, disassembler and simulator. (Closed)

Created:
7 years, 9 months ago by Ivan Posva
Modified:
7 years, 9 months ago
Reviewers:
zra, regis
CC:
reviews_dartlang.org
Visibility:
Public.

Description

- Add a skeleton MIPS assembler, disassembler and simulator. - Remove unused fields and methods from ARM simulator. - Remove unused 5th parameter from Simulator::Call. Committed: https://code.google.com/p/dart/source/detail?r=19606

Patch Set 1 #

Patch Set 2 : #

Total comments: 30
Unified diffs Side-by-side diffs Delta from patch set Stats (+829 lines, -100 lines) Patch
M runtime/vm/assembler_mips.h View 1 5 chunks +76 lines, -32 lines 16 comments Download
M runtime/vm/assembler_mips.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M runtime/vm/assembler_mips_test.cc View 1 chunk +2 lines, -1 line 2 comments Download
M runtime/vm/constants_arm.h View 1 chunk +0 lines, -1 line 0 comments Download
M runtime/vm/constants_mips.h View 2 chunks +270 lines, -32 lines 5 comments Download
M runtime/vm/dart_entry.cc View 1 chunk +1 line, -2 lines 0 comments Download
M runtime/vm/disassembler_arm.cc View 1 chunk +1 line, -0 lines 0 comments Download
M runtime/vm/disassembler_mips.cc View 2 chunks +242 lines, -3 lines 5 comments Download
M runtime/vm/simulator_arm.h View 2 chunks +1 line, -3 lines 0 comments Download
M runtime/vm/simulator_arm.cc View 2 chunks +2 lines, -9 lines 0 comments Download
M runtime/vm/simulator_mips.h View 1 chunk +23 lines, -2 lines 0 comments Download
M runtime/vm/simulator_mips.cc View 4 chunks +194 lines, -8 lines 2 comments Download
M runtime/vm/unit_test.h View 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Ivan Posva
7 years, 9 months ago (2013-03-06 16:30:36 UTC) #1
regis
https://codereview.chromium.org/12541003/diff/9002/runtime/vm/assembler_mips.h File runtime/vm/assembler_mips.h (right): https://codereview.chromium.org/12541003/diff/9002/runtime/vm/assembler_mips.h#newcode204 runtime/vm/assembler_mips.h:204: void ori(Register rt, Register rs, const Immediate& imm) { ...
7 years, 9 months ago (2013-03-06 21:18:42 UTC) #2
Ivan Posva
https://codereview.chromium.org/12541003/diff/9002/runtime/vm/assembler_mips.h File runtime/vm/assembler_mips.h (right): https://codereview.chromium.org/12541003/diff/9002/runtime/vm/assembler_mips.h#newcode204 runtime/vm/assembler_mips.h:204: void ori(Register rt, Register rs, const Immediate& imm) { ...
7 years, 9 months ago (2013-03-07 11:03:22 UTC) #3
Ivan Posva
Committed patchset #2 manually as r19606 (presubmit successful).
7 years, 9 months ago (2013-03-07 11:04:39 UTC) #4
regis
7 years, 9 months ago (2013-03-07 17:56:56 UTC) #5
Message was sent while issue was closed.
LGTM

https://codereview.chromium.org/12541003/diff/9002/runtime/vm/assembler_mips.h
File runtime/vm/assembler_mips.h (right):

https://codereview.chromium.org/12541003/diff/9002/runtime/vm/assembler_mips....
runtime/vm/assembler_mips.h:241: // Figures 4-1, 4-2 and 4-3.
On 2013/03/07 11:03:22, Ivan Posva wrote:
> On 2013/03/06 21:18:42, regis wrote:
> > What figures are you referring to?
> 
> Done.

Done what?

https://codereview.chromium.org/12541003/diff/9002/runtime/vm/constants_mips.h
File runtime/vm/constants_mips.h (right):

https://codereview.chromium.org/12541003/diff/9002/runtime/vm/constants_mips....
runtime/vm/constants_mips.h:235: MFHI,
On 2013/03/07 11:03:22, Ivan Posva wrote:
> On 2013/03/06 21:18:42, regis wrote:
> > = 16
> > etc...
> 
> Done. I wasn't sure which one is more readable. I guess it is better to not
> leave any questions.

It looks like you forgot to upload before committing.

Powered by Google App Engine
This is Rietveld 408576698