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

Issue 1310883005: MIPS: Optimize simulator. (Closed)

Created:
5 years, 3 months ago by balazs.kilvady
Modified:
5 years, 3 months ago
CC:
v8-dev
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS: Optimize simulator. The patch decreases the calls of huge switch instructions making the DecodeType*() functions to work in one phase and optimizing Instruction::InstructionType(). Speed gain in release full check is about 33% (6:13 s -> 4:09 s) and in optdebug full test is about 50% (12:29 -> 6:17) BUG= Committed: https://crrev.com/09f41681ef83fe9e9d79748e2a60f16b70d5934c Cr-Commit-Position: refs/heads/master@{#30596}

Patch Set 1 #

Patch Set 2 : DecodeTypeImmediate(): BranchCommon refinement. #

Total comments: 18

Patch Set 3 : Fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+903 lines, -1203 lines) Patch
M src/mips/constants-mips.h View 3 chunks +136 lines, -2 lines 0 comments Download
M src/mips/constants-mips.cc View 1 chunk +0 lines, -145 lines 0 comments Download
M src/mips/simulator-mips.h View 1 2 3 chunks +47 lines, -53 lines 0 comments Download
M src/mips/simulator-mips.cc View 1 2 45 chunks +720 lines, -1003 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
paul.l...
This looks great. Of course, it needs a real issue title. I suggest you do ...
5 years, 3 months ago (2015-09-02 17:30:13 UTC) #2
balazs.kilvady
https://codereview.chromium.org/1310883005/diff/20001/src/mips/simulator-mips.cc File src/mips/simulator-mips.cc (right): https://codereview.chromium.org/1310883005/diff/20001/src/mips/simulator-mips.cc#newcode995 src/mips/simulator-mips.cc:995: fprintf(stderr, "executed instructions: %" PRIu64 "\n", icount_); On 2015/09/02 ...
5 years, 3 months ago (2015-09-04 12:57:15 UTC) #3
paul.l...
LGTM. Thanks!
5 years, 3 months ago (2015-09-04 16:35:45 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1310883005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1310883005/40001
5 years, 3 months ago (2015-09-04 17:13:52 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 3 months ago (2015-09-04 17:39:59 UTC) #8
commit-bot: I haz the power
5 years, 3 months ago (2015-09-04 17:40:19 UTC) #9
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/09f41681ef83fe9e9d79748e2a60f16b70d5934c
Cr-Commit-Position: refs/heads/master@{#30596}

Powered by Google App Engine
This is Rietveld 408576698