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

Issue 2380953002: [stubs] Generalize loop handling in CodeStubAssembler and improve common loop performance (Closed)

Created:
4 years, 2 months ago by danno
Modified:
4 years, 2 months ago
CC:
v8-reviews_googlegroups.com, Benedikt Meurer, Michael Starzinger
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[stubs]: Generalize loop handling in CodeStubAssembler and improve common loop performance Specifically an attempt to address a 3.5% regression on the total load time on cnn introduced by https://codereview.chromium.org/2113673002. Non-refactoring effect of this CL is to reduce the number of branches in CodeStubAssembler-generated loops iterating over FixedArrays from two to one. LOG=N BUG=v8:5423 Committed: https://crrev.com/697aa6f579675db873fdc4c2eaf578fab8126b40 Cr-Commit-Position: refs/heads/master@{#40020}

Patch Set 1 #

Patch Set 2 : Fix ia32 #

Patch Set 3 : Simplifications #

Patch Set 4 : Rebase #

Patch Set 5 : Remove ununsed header #

Patch Set 6 : y #

Total comments: 10

Patch Set 7 : Review feedback #

Patch Set 8 : Rebase #

Total comments: 1

Patch Set 9 : Micro optimization #

Patch Set 10 : Nit #

Patch Set 11 : Nit #

Patch Set 12 : Working version #

Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -117 lines) Patch
M src/code-stub-assembler.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +132 lines, -97 lines 0 comments Download
M src/code-stubs.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +6 lines, -20 lines 0 comments Download

Messages

Total messages: 56 (48 generated)
danno
ptal
4 years, 2 months ago (2016-09-30 15:53:23 UTC) #23
Benedikt Meurer
Definitely something Igor should review. In general Igor is considered the (main) owner of CodeStubAssembler ...
4 years, 2 months ago (2016-09-30 17:15:30 UTC) #26
Igor Sheludko
https://codereview.chromium.org/2380953002/diff/100001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2380953002/diff/100001/src/code-stub-assembler.cc#newcode5661 src/code-stub-assembler.cc:5661: { Why not just put GotoIf(WordEqual(var.value(), end_index), &after_loop); here ...
4 years, 2 months ago (2016-10-04 09:32:25 UTC) #28
danno
Feedback addressed. PTAL. https://codereview.chromium.org/2380953002/diff/100001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2380953002/diff/100001/src/code-stub-assembler.cc#newcode5661 src/code-stub-assembler.cc:5661: { On 2016/10/04 09:32:25, Igor Sheludko ...
4 years, 2 months ago (2016-10-04 16:10:23 UTC) #31
Igor Sheludko
lgtm with a nit: https://codereview.chromium.org/2380953002/diff/140001/src/code-stub-assembler.cc File src/code-stub-assembler.cc (right): https://codereview.chromium.org/2380953002/diff/140001/src/code-stub-assembler.cc#newcode5704 src/code-stub-assembler.cc:5704: // loop that help's turbofan ...
4 years, 2 months ago (2016-10-05 07:33:19 UTC) #38
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/2380953002/240001
4 years, 2 months ago (2016-10-06 06:36:50 UTC) #52
commit-bot: I haz the power
Committed patchset #12 (id:240001)
4 years, 2 months ago (2016-10-06 06:40:11 UTC) #54
commit-bot: I haz the power
4 years, 2 months ago (2016-10-06 06:40:30 UTC) #56
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/697aa6f579675db873fdc4c2eaf578fab8126b40
Cr-Commit-Position: refs/heads/master@{#40020}

Powered by Google App Engine
This is Rietveld 408576698