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

Issue 2537123002: [ignition] Optimize jump checks to range checks (Closed)

Created:
4 years ago by Leszek Swirski
Modified:
4 years ago
Reviewers:
rmcilroy
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[ignition] Optimize jump checks to range checks Reorders the jump bytecodes so that the majority of jump checks can be implemented as range checks (rather than a list of comparisons that get compiled to a bunch of jumps). Committed: https://crrev.com/a32a67c7d907daf811d3c2479993100d905bc1e9 Cr-Commit-Position: refs/heads/master@{#41498}

Patch Set 1 #

Patch Set 2 : Add tests #

Total comments: 4

Patch Set 3 : Simplify jump bytecode macros #

Unified diffs Side-by-side diffs Delta from patch set Stats (+214 lines, -35 lines) Patch
M src/interpreter/bytecodes.h View 1 2 4 chunks +94 lines, -35 lines 0 comments Download
M test/unittests/interpreter/bytecodes-unittest.cc View 1 1 chunk +120 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (13 generated)
Leszek Swirski
Hi Ross, This is a little hacky, but I do see a non-zero improvement from ...
4 years ago (2016-11-29 16:34:15 UTC) #4
rmcilroy
I'm fine with the range checks, but could we add a unittest similar to the ...
4 years ago (2016-12-02 10:50:58 UTC) #7
Leszek Swirski
On 2016/12/02 10:50:58, rmcilroy wrote: > I'm fine with the range checks, but could we ...
4 years ago (2016-12-05 12:19:37 UTC) #10
rmcilroy
LGTM with a nit, thanks. https://codereview.chromium.org/2537123002/diff/20001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/2537123002/diff/20001/src/interpreter/bytecodes.h#newcode377 src/interpreter/bytecodes.h:377: V(JumpIfNotHole) nit - could ...
4 years ago (2016-12-05 14:33:40 UTC) #13
Leszek Swirski
https://codereview.chromium.org/2537123002/diff/20001/src/interpreter/bytecodes.h File src/interpreter/bytecodes.h (right): https://codereview.chromium.org/2537123002/diff/20001/src/interpreter/bytecodes.h#newcode377 src/interpreter/bytecodes.h:377: V(JumpIfNotHole) On 2016/12/05 14:33:40, rmcilroy wrote: > nit - ...
4 years ago (2016-12-05 17:53:11 UTC) #14
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/2537123002/40001
4 years ago (2016-12-05 17:53:30 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-05 18:26:01 UTC) #19
commit-bot: I haz the power
4 years ago (2016-12-05 18:26:36 UTC) #21
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a32a67c7d907daf811d3c2479993100d905bc1e9
Cr-Commit-Position: refs/heads/master@{#41498}

Powered by Google App Engine
This is Rietveld 408576698