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

Issue 1534183002: MIPS64: r6 compact branch optimization. (Closed)

Created:
5 years ago by ivica.bogosavljevic
Modified:
4 years, 11 months ago
Reviewers:
ilija.pavlovic, djordje.pesic, balazs.kilvady, miran.karic, paul.l..., akos.palfi.imgtec
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

MIPS64: r6 compact branch optimization. Several ports to enable r6 compact branch optimizations on MIPS64 Port 3573d3cb58bffb08d0537eaa3803fb5c2a5e5639 Original commit message: MIPS: r6 compact branch optimization. Port bddf8c9e081f70fc1dad8343040bb4c97dda8890 Original commit message: MIPS: Fix trampoline pool handling in MacroAssembler::BranchShort() Port 6993cd0de5ef7edd437c2e45c958d079f27bdd59 Original commit message: MIPS: Fix 'MIPS:r6 compact branch optimization.' Jic and jialc compact branch ops are fixed as they does not have 'forbidden slot' restriction. Also COP1 branches (CTI instructions) added to IsForbiddenAfterBranchInstr(). Port bb332195d32f1e6f99e9cd065ef559be9bcca19b Original commit message: MIPS: Fix trampoline pool handling in MacroAssembler::BranchShort() Port c91bcf719208f12a88f6c9fcf6d73204762739f2 Original commit message: MIPS: Fix trampoline pool handling in MacroAssembler::BranchShort() for r6. BUG= Committed: https://crrev.com/2c63060f113bd7a7a40e5aeb895984b8328e7824 Cr-Commit-Position: refs/heads/master@{#33136}

Patch Set 1 #

Total comments: 41

Patch Set 2 : Apply remarks from the review #

Total comments: 4

Patch Set 3 : Implement code review remarks for simulator-mips64 #

Patch Set 4 : Rebasing master to include the new changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1926 lines, -1497 lines) Patch
M src/compiler/mips64/code-generator-mips64.cc View 1 2 3 1 chunk +1 line, -3 lines 0 comments Download
M src/ic/mips64/ic-mips64.cc View 1 2 3 2 chunks +36 lines, -7 lines 0 comments Download
M src/mips64/assembler-mips64.h View 1 2 3 10 chunks +136 lines, -90 lines 0 comments Download
M src/mips64/assembler-mips64.cc View 1 2 3 34 chunks +269 lines, -192 lines 0 comments Download
M src/mips64/assembler-mips64-inl.h View 1 2 chunks +21 lines, -1 line 0 comments Download
M src/mips64/constants-mips64.h View 1 2 3 6 chunks +342 lines, -320 lines 0 comments Download
M src/mips64/constants-mips64.cc View 1 4 chunks +25 lines, -11 lines 0 comments Download
M src/mips64/disasm-mips64.cc View 1 2 3 8 chunks +42 lines, -18 lines 0 comments Download
M src/mips64/macro-assembler-mips64.h View 1 2 3 4 chunks +30 lines, -12 lines 0 comments Download
M src/mips64/macro-assembler-mips64.cc View 1 2 3 15 chunks +760 lines, -686 lines 0 comments Download
M src/mips64/simulator-mips64.h View 1 2 3 2 chunks +13 lines, -1 line 0 comments Download
M src/mips64/simulator-mips64.cc View 1 2 3 10 chunks +199 lines, -106 lines 0 comments Download
M test/cctest/test-disasm-mips64.cc View 8 chunks +51 lines, -47 lines 0 comments Download
M test/cctest/test-macro-assembler-mips64.cc View 1 2 3 2 chunks +1 line, -3 lines 0 comments Download

Messages

Total messages: 29 (12 generated)
ivica.bogosavljevic
https://codereview.chromium.org/1534183002/diff/1/src/compiler/mips64/code-generator-mips64.cc File src/compiler/mips64/code-generator-mips64.cc (right): https://codereview.chromium.org/1534183002/diff/1/src/compiler/mips64/code-generator-mips64.cc#newcode1556 src/compiler/mips64/code-generator-mips64.cc:1556: Register input = i.InputRegister(0); Patch tested on MIPS64 R2 ...
5 years ago (2015-12-18 08:56:32 UTC) #3
Ilija.Pavlovic1
https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64-inl.h File src/mips64/assembler-mips64-inl.h (right): https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64-inl.h#newcode468 src/mips64/assembler-mips64-inl.h:468: // Nop instruction to preceed a CTI in forbidden ...
5 years ago (2015-12-18 11:38:22 UTC) #5
balazs.kilvady
Looks good to me but I noticed for the first review, please take a look. ...
5 years ago (2015-12-18 19:18:05 UTC) #7
ivica.bogosavljevic
https://codereview.chromium.org/1534183002/diff/1/src/compiler/mips64/code-generator-mips64.cc File src/compiler/mips64/code-generator-mips64.cc (right): https://codereview.chromium.org/1534183002/diff/1/src/compiler/mips64/code-generator-mips64.cc#newcode1556 src/compiler/mips64/code-generator-mips64.cc:1556: Register input = i.InputRegister(0); On 2015/12/18 08:56:32, ivica.bogosavljevic wrote: ...
5 years ago (2015-12-22 10:22:40 UTC) #8
balazs.kilvady
https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64-inl.h File src/mips64/assembler-mips64-inl.h (right): https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64-inl.h#newcode468 src/mips64/assembler-mips64-inl.h:468: // Nop instruction to preceed a CTI in forbidden ...
5 years ago (2015-12-22 11:01:56 UTC) #9
ivica.bogosavljevic
https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64.h File src/mips64/assembler-mips64.h (right): https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64.h#newcode1270 src/mips64/assembler-mips64.h:1270: void EmitPendingInstructions() { On 2015/12/22 11:01:56, balazs.kilvady wrote: > ...
5 years ago (2015-12-22 12:23:42 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534183002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534183002/20001
5 years ago (2015-12-23 16:25:02 UTC) #12
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years ago (2015-12-23 16:25:04 UTC) #14
balazs.kilvady
https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64-inl.h File src/mips64/assembler-mips64-inl.h (right): https://codereview.chromium.org/1534183002/diff/1/src/mips64/assembler-mips64-inl.h#newcode468 src/mips64/assembler-mips64-inl.h:468: // Nop instruction to preceed a CTI in forbidden ...
4 years, 11 months ago (2016-01-04 13:38:39 UTC) #15
balazs.kilvady
https://codereview.chromium.org/1534183002/diff/20001/src/mips64/simulator-mips64.h File src/mips64/simulator-mips64.h (right): https://codereview.chromium.org/1534183002/diff/20001/src/mips64/simulator-mips64.h#newcode396 src/mips64/simulator-mips64.h:396: Instruction* instr_aftter_compact_branch = instr_after_compact_branch instead of instr_aftter_compact_branch (after is ...
4 years, 11 months ago (2016-01-04 15:26:23 UTC) #16
balazs.kilvady
https://codereview.chromium.org/1534183002/diff/20001/src/mips64/simulator-mips64.cc File src/mips64/simulator-mips64.cc (right): https://codereview.chromium.org/1534183002/diff/20001/src/mips64/simulator-mips64.cc#newcode4137 src/mips64/simulator-mips64.cc:4137: }; Add a newline, please. https://codereview.chromium.org/1534183002/diff/20001/src/mips64/simulator-mips64.cc#newcode4272 src/mips64/simulator-mips64.cc:4272: CheckForbiddenSlot(get_pc()); Remove ...
4 years, 11 months ago (2016-01-04 15:30:38 UTC) #17
balazs.kilvady
LGTM
4 years, 11 months ago (2016-01-05 17:14:00 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534183002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534183002/60001
4 years, 11 months ago (2016-01-06 12:58:35 UTC) #20
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-06 13:30:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1534183002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1534183002/60001
4 years, 11 months ago (2016-01-06 13:35:12 UTC) #25
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-06 13:36:36 UTC) #27
commit-bot: I haz the power
4 years, 11 months ago (2016-01-06 13:36:50 UTC) #29
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2c63060f113bd7a7a40e5aeb895984b8328e7824
Cr-Commit-Position: refs/heads/master@{#33136}

Powered by Google App Engine
This is Rietveld 408576698