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

Issue 2440953002: [wasm] Binary 0xD: update encoding of opcodes, types, and add immediates. (Closed)

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

Description

[wasm] Binary 0xD: update encoding of opcodes, types, and add immediates. R=ahaas@chromium.org,rossberg@chromium.org,binji@chromium.org,bradnelson@chromium.org BUG=chromium:575167, chromium:659591 Committed: https://crrev.com/3f207617d7141cfc3a7051a243f8bbfb98c879c7 Cr-Commit-Position: refs/heads/master@{#40600}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Fix ordering of comparisons and regression test #

Patch Set 3 : Update after moving copysign #

Total comments: 1

Patch Set 4 : Flip order of table index in CallIndirect #

Patch Set 5 : Rebase on master #

Patch Set 6 : Update fuzzing corpus for 0xD #

Patch Set 7 : Re-reupdated fuzzer corpus for 0xD #

Patch Set 8 : Back out update of WASM fuzzer corpus #

Patch Set 9 : Fix imported table kind. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+519 lines, -487 lines) Patch
M src/asmjs/asm-wasm-builder.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M src/wasm/ast-decoder.h View 1 2 3 2 chunks +21 lines, -4 lines 0 comments Download
M src/wasm/ast-decoder.cc View 1 2 3 4 2 chunks +13 lines, -2 lines 0 comments Download
M src/wasm/module-decoder.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M src/wasm/wasm-interpreter.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M src/wasm/wasm-macro-gen.h View 1 2 3 2 chunks +11 lines, -9 lines 0 comments Download
M src/wasm/wasm-module.h View 1 chunk +3 lines, -3 lines 0 comments Download
M src/wasm/wasm-opcodes.h View 1 2 3 chunks +185 lines, -187 lines 0 comments Download
M test/cctest/wasm/test-run-wasm.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/cctest/wasm/test-run-wasm-64.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/regress/wasm/regression-651961.js View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/mjsunit/wasm/compiled-module-serialization.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/grow-memory.js View 3 chunks +3 lines, -3 lines 0 comments Download
M test/mjsunit/wasm/import-memory.js View 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/incrementer.wasm View Binary file 0 comments Download
M test/mjsunit/wasm/indirect-calls.js View 1 2 3 4 5 chunks +5 lines, -5 lines 0 comments Download
M test/mjsunit/wasm/indirect-tables.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/instantiate-module-basic.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/memory-size.js View 2 chunks +2 lines, -2 lines 0 comments Download
M test/mjsunit/wasm/stack.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/test-wasm-module-builder.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/trap-location.js View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M test/mjsunit/wasm/wasm-constants.js View 1 2 3 chunks +241 lines, -242 lines 0 comments Download
M test/unittests/wasm/ast-decoder-unittest.cc View 1 2 3 4 5 chunks +6 lines, -6 lines 0 comments Download
M test/unittests/wasm/wasm-macro-gen-unittest.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M tools/update-wasm-fuzzers.sh View 1 2 3 4 5 1 chunk +7 lines, -7 lines 0 comments Download

Messages

Total messages: 48 (37 generated)
titzer
4 years, 2 months ago (2016-10-21 11:21:28 UTC) #1
rossberg
LGTM modulo wrong ordering of comparisons https://codereview.chromium.org/2440953002/diff/1/src/wasm/wasm-opcodes.h File src/wasm/wasm-opcodes.h (right): https://codereview.chromium.org/2440953002/diff/1/src/wasm/wasm-opcodes.h#newcode122 src/wasm/wasm-opcodes.h:122: V(I32LtS, 0x48, i_ii) ...
4 years, 2 months ago (2016-10-21 11:41:23 UTC) #6
ahaas
lgtm
4 years, 2 months ago (2016-10-21 12:24:18 UTC) #7
titzer
Updated order of comparisons. PTAL https://codereview.chromium.org/2440953002/diff/1/src/wasm/wasm-opcodes.h File src/wasm/wasm-opcodes.h (right): https://codereview.chromium.org/2440953002/diff/1/src/wasm/wasm-opcodes.h#newcode122 src/wasm/wasm-opcodes.h:122: V(I32LtS, 0x48, i_ii) \ ...
4 years, 2 months ago (2016-10-21 12:29:39 UTC) #10
rossberg
LGTM
4 years, 2 months ago (2016-10-21 12:33:12 UTC) #11
bradnelson
lgtm https://codereview.chromium.org/2440953002/diff/40001/src/wasm/wasm-opcodes.h File src/wasm/wasm-opcodes.h (right): https://codereview.chromium.org/2440953002/diff/40001/src/wasm/wasm-opcodes.h#newcode19 src/wasm/wasm-opcodes.h:19: kLocalI32 = 0x7f, Might be good to comment ...
4 years, 2 months ago (2016-10-21 18:54:47 UTC) #18
Derek Schuff
In src/wasm/module-decoder.cc:316, the decoder for table imports still expects an element type of 0x20 instead ...
4 years, 1 month ago (2016-10-26 16:15:29 UTC) #34
titzer
On 2016/10/26 16:15:29, Derek Schuff wrote: > In src/wasm/module-decoder.cc:316, the decoder for table imports still ...
4 years, 1 month ago (2016-10-26 16:26:13 UTC) #37
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/2440953002/160001
4 years, 1 month ago (2016-10-26 16:54:05 UTC) #44
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 1 month ago (2016-10-26 16:56:13 UTC) #46
commit-bot: I haz the power
4 years, 1 month ago (2016-11-17 22:14:32 UTC) #48
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/3f207617d7141cfc3a7051a243f8bbfb98c879c7
Cr-Commit-Position: refs/heads/master@{#40600}

Powered by Google App Engine
This is Rietveld 408576698