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

Issue 2532403002: [regexp] Migrate @@split to TurboFan (Closed)

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

Description

[regexp] Migrate @@split to TurboFan This shows around a 2.2x speedup compared to the old JS implementation (and 3.5x compared to CPP) for the fast path. Adds ToUint32 to CodeStubAssembler. BUG=v8:5339 Committed: https://crrev.com/2c3fe6d961e4a496bf5edc33a14c5c09245185c9 Cr-Commit-Position: refs/heads/master@{#41408}

Patch Set 1 #

Patch Set 2 : Rebase and fix ToUint32 #

Patch Set 3 : Fix compilation errors #

Total comments: 9

Patch Set 4 : Address comments #

Total comments: 10

Patch Set 5 : Address comments #

Patch Set 6 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+586 lines, -284 lines) Patch
M src/bootstrapper.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins.h View 1 1 chunk +1 line, -1 line 0 comments Download
M src/builtins/builtins-regexp.cc View 1 2 3 4 13 chunks +251 lines, -282 lines 0 comments Download
M src/code-stub-assembler.h View 1 chunk +5 lines, -0 lines 0 comments Download
M src/code-stub-assembler.cc View 1 2 3 4 5 1 chunk +102 lines, -0 lines 0 comments Download
M src/runtime/runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime/runtime-regexp.cc View 1 1 chunk +217 lines, -0 lines 0 comments Download
M test/mjsunit/string-split.js View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 29 (21 generated)
jgruber
4 years ago (2016-11-29 13:51:42 UTC) #14
Igor Sheludko
First round of comments. https://codereview.chromium.org/2532403002/diff/40001/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2532403002/diff/40001/src/builtins/builtins-regexp.cc#newcode1647 src/builtins/builtins-regexp.cc:1647: Callable exec_callable = CodeFactory::RegExpExec(isolate); You ...
4 years ago (2016-11-30 10:56:38 UTC) #15
jgruber
PTAL https://codereview.chromium.org/2532403002/diff/40001/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2532403002/diff/40001/src/builtins/builtins-regexp.cc#newcode1647 src/builtins/builtins-regexp.cc:1647: Callable exec_callable = CodeFactory::RegExpExec(isolate); On 2016/11/30 10:56:37, Igor ...
4 years ago (2016-11-30 12:45:33 UTC) #18
Igor Sheludko
lgtm with nits: https://codereview.chromium.org/2532403002/diff/40001/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2532403002/diff/40001/src/builtins/builtins-regexp.cc#newcode1647 src/builtins/builtins-regexp.cc:1647: Callable exec_callable = CodeFactory::RegExpExec(isolate); On 2016/11/30 ...
4 years ago (2016-11-30 20:47:32 UTC) #21
jgruber
https://codereview.chromium.org/2532403002/diff/60001/src/builtins/builtins-regexp.cc File src/builtins/builtins-regexp.cc (right): https://codereview.chromium.org/2532403002/diff/60001/src/builtins/builtins-regexp.cc#newcode1767 src/builtins/builtins-regexp.cc:1767: CLabel nested_loop(a, vars_count, vars), nested_loop_out(a); On 2016/11/30 20:47:31, Igor ...
4 years ago (2016-12-01 07:56:24 UTC) #22
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/2532403002/100001
4 years ago (2016-12-01 07:56:37 UTC) #25
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years ago (2016-12-01 08:25:04 UTC) #27
commit-bot: I haz the power
4 years ago (2016-12-01 08:25:27 UTC) #29
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/2c3fe6d961e4a496bf5edc33a14c5c09245185c9
Cr-Commit-Position: refs/heads/master@{#41408}

Powered by Google App Engine
This is Rietveld 408576698