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

Issue 2847663005: [WASM SIMD] Replace primitive shuffles with general Shuffle. (Closed)

Created:
3 years, 7 months ago by bbudge
Modified:
3 years, 7 months ago
CC:
v8-reviews_googlegroups.com, v8-mips-ports_googlegroups.com, v8-ppc-ports_googlegroups.com, wasm-v8_google.com
Target Ref:
refs/heads/master
Project:
v8
Visibility:
Public.

Description

[WASM SIMD] Replace primitive shuffles with general Shuffle. - Removes primitive shuffle opcodes. - Adds Shuffle opcode for S32x4, S16x8, S8x16. - Adds code to ARM instruction selector to pick best opcodes for some common shuffle patterns. LOG=N BUG=v8:6020 Review-Url: https://codereview.chromium.org/2847663005 Cr-Commit-Position: refs/heads/master@{#45104} Committed: https://chromium.googlesource.com/v8/v8/+/0cd0fa3b98a06126681f4ce091555a0aa2e35859

Patch Set 1 #

Patch Set 2 : Add unit tests, TODOs.x #

Patch Set 3 : Fix compile. #

Patch Set 4 : Remove stray wasm opcode. #

Total comments: 6

Patch Set 5 : Review comments. #

Patch Set 6 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+449 lines, -490 lines) Patch
M src/api.cc View 1 2 3 4 5 1 chunk +1 line, -4 lines 0 comments Download
M src/compiler/arm/instruction-selector-arm.cc View 1 2 3 4 3 chunks +169 lines, -36 lines 0 comments Download
M src/compiler/instruction-selector.cc View 1 2 3 4 5 4 chunks +9 lines, -107 lines 0 comments Download
M src/compiler/machine-operator.h View 1 chunk +3 lines, -26 lines 0 comments Download
M src/compiler/machine-operator.cc View 2 chunks +22 lines, -28 lines 0 comments Download
M src/compiler/opcodes.h View 1 2 3 4 5 1 chunk +3 lines, -25 lines 0 comments Download
M src/compiler/wasm-compiler.h View 1 chunk +2 lines, -1 line 0 comments Download
M src/compiler/wasm-compiler.cc View 1 2 3 4 5 2 chunks +16 lines, -69 lines 0 comments Download
M src/wasm/function-body-decoder.cc View 6 chunks +39 lines, -12 lines 0 comments Download
M src/wasm/function-body-decoder-impl.h View 1 chunk +10 lines, -8 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 3 4 5 3 chunks +17 lines, -36 lines 0 comments Download
M src/wasm/wasm-opcodes.cc View 1 2 3 4 5 1 chunk +3 lines, -25 lines 0 comments Download
M src/wasm/wasm-text.cc View 1 chunk +1 line, -0 lines 0 comments Download
M test/cctest/wasm/test-run-wasm-simd.cc View 1 2 3 4 5 4 chunks +150 lines, -113 lines 0 comments Download
M test/unittests/wasm/function-body-decoder-unittest.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (22 generated)
bbudge
3 years, 7 months ago (2017-04-30 04:18:22 UTC) #14
martyn.capewell
https://codereview.chromium.org/2847663005/diff/60001/src/compiler/arm/instruction-selector-arm.cc File src/compiler/arm/instruction-selector-arm.cc (right): https://codereview.chromium.org/2847663005/diff/60001/src/compiler/arm/instruction-selector-arm.cc#newcode2580 src/compiler/arm/instruction-selector-arm.cc:2580: {{0, 4, 1, 5}, kArmS32x4ZipLeft}, Odd suggestion: I wonder ...
3 years, 7 months ago (2017-05-02 14:56:56 UTC) #16
bbudge
https://codereview.chromium.org/2847663005/diff/60001/src/compiler/arm/instruction-selector-arm.cc File src/compiler/arm/instruction-selector-arm.cc (right): https://codereview.chromium.org/2847663005/diff/60001/src/compiler/arm/instruction-selector-arm.cc#newcode2580 src/compiler/arm/instruction-selector-arm.cc:2580: {{0, 4, 1, 5}, kArmS32x4ZipLeft}, On 2017/05/02 14:56:56, martyn.capewell ...
3 years, 7 months ago (2017-05-02 22:59:27 UTC) #17
martyn.capewell
lgtm
3 years, 7 months ago (2017-05-03 10:49:23 UTC) #18
bbudge
Ready for your review Benedikt.
3 years, 7 months ago (2017-05-04 10:11:39 UTC) #19
Benedikt Meurer
LGTM on the compiler bits.
3 years, 7 months ago (2017-05-04 10:37:13 UTC) #20
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/2847663005/100001
3 years, 7 months ago (2017-05-04 16:49:14 UTC) #27
commit-bot: I haz the power
3 years, 7 months ago (2017-05-04 16:51:00 UTC) #30
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/v8/v8/+/0cd0fa3b98a06126681f4ce091555a0aa2e...

Powered by Google App Engine
This is Rietveld 408576698