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

Issue 2620293004: [turbofan] Relax limitation for using BaseWithIndexAndDisplacement for load/stores (Closed)

Created:
3 years, 11 months ago by shiyu.zhang
Modified:
3 years, 10 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[turbofan] Relax limitation for using BaseWithIndexAndDisplacement for load/stores Enable using BaseWithIndexAndDisplacement addressing mode for an address used by multiple load/stores. It can reduce one instruction to calculate the address and one register to store the address. BUG= Review-Url: https://codereview.chromium.org/2620293004 Cr-Commit-Position: refs/heads/master@{#43402} Committed: https://chromium.googlesource.com/v8/v8/+/bd74f1cf57c951612aad501be68ec8d791825705

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Relax limitation for lea #

Patch Set 4 : Rebase #

Patch Set 5 : Avoid changing simple addressing to complex addressing when the address has multiple uses #

Total comments: 3

Patch Set 6 : Careful when use as store's value and Add tests #

Patch Set 7 : Fix some test bugs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1288 lines, -18 lines) Patch
M src/compiler/node.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M src/compiler/node.cc View 1 2 3 4 5 1 chunk +13 lines, -0 lines 0 comments Download
M src/compiler/node-matchers.h View 1 2 3 4 6 chunks +32 lines, -16 lines 0 comments Download
M test/unittests/compiler/node-matchers-unittest.cc View 1 2 3 4 5 6 6 chunks +1239 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
shiyu.zhang
The address used by multiple load/stores cannot use BaseWithIndexAndDisplacement addressing mode. This patch relax the ...
3 years, 11 months ago (2017-01-22 03:39:16 UTC) #3
shiyu.zhang
The address used by multiple load/stores cannot use BaseWithIndexAndDisplacement addressing mode. This patch relax the ...
3 years, 11 months ago (2017-01-22 03:39:16 UTC) #4
shiyu.zhang
Rebase the patch and the following improvements can be observed on Atom with the patch: ...
3 years, 10 months ago (2017-02-07 06:26:44 UTC) #5
danno
Hi Shiyu, Thanks for the patch. Could you elaborate a little bit on the tradeoffs ...
3 years, 10 months ago (2017-02-08 10:14:01 UTC) #9
shiyu.zhang
On 2017/02/08 10:14:01, danno wrote: > Hi Shiyu, > > Thanks for the patch. Could ...
3 years, 10 months ago (2017-02-21 09:54:31 UTC) #10
danno
Thanks for the analysis and the information about addressing modes, Shiyu. The latest version looks ...
3 years, 10 months ago (2017-02-21 16:11:01 UTC) #11
danno
3 years, 10 months ago (2017-02-22 14:48:42 UTC) #13
shiyu.zhang
Thanks for the advice, Danno. I am working on the tests. https://codereview.chromium.org/2620293004/diff/80001/src/compiler/node.cc File src/compiler/node.cc (right): ...
3 years, 10 months ago (2017-02-23 01:20:48 UTC) #14
danno
Thanks for the update, Shiyu. I'm looking forward to the updated patch. https://codereview.chromium.org/2620293004/diff/80001/src/compiler/node.cc File src/compiler/node.cc ...
3 years, 10 months ago (2017-02-23 08:49:34 UTC) #15
shiyu.zhang
Hi Danno, tests are added. And you are right. Use as store’s value should not ...
3 years, 10 months ago (2017-02-23 11:22:56 UTC) #16
danno
lgtm! Thanks for the patch.
3 years, 10 months ago (2017-02-23 20:53:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620293004/100001
3 years, 10 months ago (2017-02-24 00:14:28 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: v8_linux_dbg_ng on master.tryserver.v8 (JOB_FAILED, http://build.chromium.org/p/tryserver.v8/builders/v8_linux_dbg_ng/builds/21560) v8_linux_dbg_ng_triggered on master.tryserver.v8 (JOB_FAILED, ...
3 years, 10 months ago (2017-02-24 00:33:45 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620293004/120001
3 years, 10 months ago (2017-02-24 06:36:38 UTC) #24
commit-bot: I haz the power
3 years, 10 months ago (2017-02-24 06:38:22 UTC) #27
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://chromium.googlesource.com/v8/v8/+/bd74f1cf57c951612aad501be68ec8d7918...

Powered by Google App Engine
This is Rietveld 408576698