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

Issue 2684973002: [ic] Inline LoadGlobalIC in bytecode handlers (Closed)

Created:
3 years, 10 months ago by jgruber
Modified:
3 years, 10 months ago
Reviewers:
Igor Sheludko, rmcilroy
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ic] Inline LoadGlobalIC in bytecode handlers Instead of calling the LoadGlobalIC stub, bytecode handlers now inline logic for LoadGlobalIC. The LoadGlobalICData case takes a fast path which omits name loading and frame construction. BUG=v8:5917 Review-Url: https://codereview.chromium.org/2684973002 Cr-Commit-Position: refs/heads/master@{#43210} Committed: https://chromium.googlesource.com/v8/v8/+/63096bc89d674d6c97bdecdbdfbf98871d1825e0

Patch Set 1 #

Patch Set 2 : Compile fix for windows #

Patch Set 3 : Remove gen_context arg #

Total comments: 16

Patch Set 4 : Rebase and address comments #

Total comments: 4

Patch Set 5 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -40 lines) Patch
M src/interpreter/interpreter.h View 1 2 3 4 1 chunk +2 lines, -4 lines 0 comments Download
M src/interpreter/interpreter.cc View 1 2 3 4 6 chunks +82 lines, -36 lines 0 comments Download

Messages

Total messages: 35 (23 generated)
jgruber
Please take a look, this CL does the actual inlining in LdaGlobal & co.
3 years, 10 months ago (2017-02-08 14:58:13 UTC) #10
Igor Sheludko
Overall good. Please rebase. https://codereview.chromium.org/2684973002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2684973002/diff/40001/src/interpreter/interpreter.cc#newcode463 src/interpreter/interpreter.cc:463: const std::function<compiler::Node*()>& gen_name_index, Node* feedback_slot, ...
3 years, 10 months ago (2017-02-08 15:42:20 UTC) #13
rmcilroy
Out of interest, do you see any perf improvement with this? Do we manage to ...
3 years, 10 months ago (2017-02-08 17:39:14 UTC) #14
Igor Sheludko
https://codereview.chromium.org/2684973002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2684973002/diff/40001/src/interpreter/interpreter.cc#newcode463 src/interpreter/interpreter.cc:463: const std::function<compiler::Node*()>& gen_name_index, Node* feedback_slot, On 2017/02/08 17:39:14, rmcilroy ...
3 years, 10 months ago (2017-02-08 17:44:40 UTC) #15
Igor Sheludko
https://codereview.chromium.org/2684973002/diff/40001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2684973002/diff/40001/src/interpreter/interpreter.cc#newcode463 src/interpreter/interpreter.cc:463: const std::function<compiler::Node*()>& gen_name_index, Node* feedback_slot, On 2017/02/08 17:44:40, Igor ...
3 years, 10 months ago (2017-02-08 17:46:25 UTC) #16
rmcilroy
Looks good other than the generator function and a couple of nits. Thanks. https://codereview.chromium.org/2684973002/diff/40001/src/interpreter/interpreter.cc File ...
3 years, 10 months ago (2017-02-08 18:38:22 UTC) #17
jgruber
On 2017/02/08 17:39:14, rmcilroy wrote: > Out of interest, do you see any perf improvement ...
3 years, 10 months ago (2017-02-09 07:55:28 UTC) #18
jgruber
Addressed comments & rebased in new patch set. arm and arm64 will still fail (IC::address ...
3 years, 10 months ago (2017-02-09 09:32:51 UTC) #21
rmcilroy
> Yes! The fast path is frame-less and we seem to get up to 11% ...
3 years, 10 months ago (2017-02-09 10:30:45 UTC) #24
jgruber
https://codereview.chromium.org/2684973002/diff/60001/src/interpreter/interpreter.cc File src/interpreter/interpreter.cc (right): https://codereview.chromium.org/2684973002/diff/60001/src/interpreter/interpreter.cc#newcode462 src/interpreter/interpreter.cc:462: void Interpreter::BuildLoadGlobal(int slot_index, int name_index_index, On 2017/02/09 10:30:44, rmcilroy ...
3 years, 10 months ago (2017-02-09 11:40:32 UTC) #27
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/2684973002/80001
3 years, 10 months ago (2017-02-15 13:05:46 UTC) #32
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 13:34:08 UTC) #35
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/v8/v8/+/63096bc89d674d6c97bdecdbdfbf98871d1...

Powered by Google App Engine
This is Rietveld 408576698