diff options
author | Alex Crichton <alex@alexcrichton.com> | 2018-10-12 13:57:23 -0700 |
---|---|---|
committer | Ben Smith <binjimin@gmail.com> | 2018-10-12 13:57:23 -0700 |
commit | 27d833c6c8bbb041c43e5f67e1049d6c0095bd56 (patch) | |
tree | 417f5c3be444e1031b4e43e63962e1b160155cfd /test/help | |
parent | 2cf0904a8b0c8fac067a10838121f8e0e35359de (diff) | |
download | wabt-27d833c6c8bbb041c43e5f67e1049d6c0095bd56.tar.gz wabt-27d833c6c8bbb041c43e5f67e1049d6c0095bd56.tar.bz2 wabt-27d833c6c8bbb041c43e5f67e1049d6c0095bd56.zip |
Add bulk memory opcode definitions (#927)
This commit starts to add support in wabt's various tools for the
upcoming [bulk memory proposal][1]. This is based off the current
proposal's overview, although these may get tweaked over time!
This is also the first time I've significantly contributed to wabt, and
what I thought would be a relatively simple addition ended up being much
larger than I imagined! I didn't add many negative tests yet but if more
tests are desired please let me know!
[1]: https://github.com/webassembly/bulk-memory-operations
Diffstat (limited to 'test/help')
-rw-r--r-- | test/help/spectest-interp.txt | 1 | ||||
-rw-r--r-- | test/help/wasm-interp.txt | 1 | ||||
-rw-r--r-- | test/help/wasm-validate.txt | 1 | ||||
-rw-r--r-- | test/help/wasm2wat.txt | 1 | ||||
-rw-r--r-- | test/help/wast2json.txt | 1 | ||||
-rw-r--r-- | test/help/wat-desugar.txt | 1 | ||||
-rw-r--r-- | test/help/wat2wasm.txt | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/test/help/spectest-interp.txt b/test/help/spectest-interp.txt index 58a4a447..8ad66af4 100644 --- a/test/help/spectest-interp.txt +++ b/test/help/spectest-interp.txt @@ -20,6 +20,7 @@ options: --enable-threads Enable Threading support --enable-multi-value Enable Multi-value --enable-tail-call Enable Tail-call support + --enable-bulk-memory Enable Bulk-memory operations -V, --value-stack-size=SIZE Size in elements of the value stack -C, --call-stack-size=SIZE Size in elements of the call stack -t, --trace Trace execution diff --git a/test/help/wasm-interp.txt b/test/help/wasm-interp.txt index fbe4f45b..77420472 100644 --- a/test/help/wasm-interp.txt +++ b/test/help/wasm-interp.txt @@ -31,6 +31,7 @@ options: --enable-threads Enable Threading support --enable-multi-value Enable Multi-value --enable-tail-call Enable Tail-call support + --enable-bulk-memory Enable Bulk-memory operations -V, --value-stack-size=SIZE Size in elements of the value stack -C, --call-stack-size=SIZE Size in elements of the call stack -t, --trace Trace execution diff --git a/test/help/wasm-validate.txt b/test/help/wasm-validate.txt index 7cd20039..4b1a45a8 100644 --- a/test/help/wasm-validate.txt +++ b/test/help/wasm-validate.txt @@ -20,6 +20,7 @@ options: --enable-threads Enable Threading support --enable-multi-value Enable Multi-value --enable-tail-call Enable Tail-call support + --enable-bulk-memory Enable Bulk-memory operations --no-debug-names Ignore debug names in the binary file --ignore-custom-section-errors Ignore errors in custom sections ;;; STDOUT ;;) diff --git a/test/help/wasm2wat.txt b/test/help/wasm2wat.txt index 30a2488d..38641fe1 100644 --- a/test/help/wasm2wat.txt +++ b/test/help/wasm2wat.txt @@ -26,6 +26,7 @@ options: --enable-threads Enable Threading support --enable-multi-value Enable Multi-value --enable-tail-call Enable Tail-call support + --enable-bulk-memory Enable Bulk-memory operations --inline-exports Write all exports inline --inline-imports Write all imports inline --no-debug-names Ignore debug names in the binary file diff --git a/test/help/wast2json.txt b/test/help/wast2json.txt index aa187b13..7b71d625 100644 --- a/test/help/wast2json.txt +++ b/test/help/wast2json.txt @@ -23,6 +23,7 @@ options: --enable-threads Enable Threading support --enable-multi-value Enable Multi-value --enable-tail-call Enable Tail-call support + --enable-bulk-memory Enable Bulk-memory operations -o, --output=FILE output wasm binary file -r, --relocatable Create a relocatable wasm binary (suitable for linking with e.g. lld) --no-canonicalize-leb128s Write all LEB128 sizes as 5-bytes instead of their minimal size diff --git a/test/help/wat-desugar.txt b/test/help/wat-desugar.txt index 8fc23c9c..383d10d1 100644 --- a/test/help/wat-desugar.txt +++ b/test/help/wat-desugar.txt @@ -30,5 +30,6 @@ options: --enable-threads Enable Threading support --enable-multi-value Enable Multi-value --enable-tail-call Enable Tail-call support + --enable-bulk-memory Enable Bulk-memory operations --generate-names Give auto-generated names to non-named functions, types, etc. ;;; STDOUT ;;) diff --git a/test/help/wat2wasm.txt b/test/help/wat2wasm.txt index b1be5c5f..853e1b92 100644 --- a/test/help/wat2wasm.txt +++ b/test/help/wat2wasm.txt @@ -30,6 +30,7 @@ options: --enable-threads Enable Threading support --enable-multi-value Enable Multi-value --enable-tail-call Enable Tail-call support + --enable-bulk-memory Enable Bulk-memory operations -o, --output=FILE output wasm binary file -r, --relocatable Create a relocatable wasm binary (suitable for linking with e.g. lld) --no-canonicalize-leb128s Write all LEB128 sizes as 5-bytes instead of their minimal size |