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

Issue 2453343002: [asmjs] Do constant folding for I32Asmjs(Div|Rem)S to avoid checks of constant divisors (Closed)

Created:
4 years, 1 month ago by ahaas
Modified:
4 years, 1 month ago
Reviewers:
titzer, bradnelson
CC:
v8-reviews_googlegroups.com, bradnelson
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[asmjs] Do constant folding for I32Asmjs(Div|Rem)S to avoid checks of constant divisors This change makes the embenchen/copy benchmark a factor of 2 faster and brings back the performance loss through graph trimming. R=titzer@chromium.org CC=bradnelson@chromium.org Committed: https://crrev.com/0ddddcb8629d456c678c1eeb3c1d1e27b8c426f2 Cr-Commit-Position: refs/heads/master@{#40628}

Patch Set 1 #

Patch Set 2 : Add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -0 lines) Patch
M src/compiler/wasm-compiler.cc View 1 2 chunks +23 lines, -0 lines 0 comments Download
M src/wasm/wasm-macro-gen.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 1 chunk +36 lines, -0 lines 0 comments Download
M test/cctest/wasm/wasm-run-utils.h View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (12 generated)
ahaas
4 years, 1 month ago (2016-10-27 12:05:53 UTC) #1
titzer
Can you add specific tests for these in test/mjsunit/wasm/asm-wasm.js (or a similar file)?
4 years, 1 month ago (2016-10-27 12:07:42 UTC) #4
titzer
On 2016/10/27 12:07:42, titzer wrote: > Can you add specific tests for these in test/mjsunit/wasm/asm-wasm.js ...
4 years, 1 month ago (2016-10-27 12:07:52 UTC) #5
ahaas
On 2016/10/27 at 12:07:52, titzer wrote: > On 2016/10/27 12:07:42, titzer wrote: > > Can ...
4 years, 1 month ago (2016-10-27 14:08:55 UTC) #10
bradnelson
lgtm
4 years, 1 month ago (2016-10-27 16:00:10 UTC) #15
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/2453343002/20001
4 years, 1 month ago (2016-10-27 16:00:15 UTC) #17
titzer
lgtm
4 years, 1 month ago (2016-10-27 16:02:20 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 1 month ago (2016-10-27 16:02:29 UTC) #19
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:15:52 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0ddddcb8629d456c678c1eeb3c1d1e27b8c426f2
Cr-Commit-Position: refs/heads/master@{#40628}

Powered by Google App Engine
This is Rietveld 408576698