Commit b0c7ed06 authored by Thibaud Michaud's avatar Thibaud Michaud Committed by Commit Bot

[wasm] Stage multi-value support

R=mstarzinger@chromium.org

Bug: v8:6672
Change-Id: Id8a53f6f74fa05150469c35ceba9470e75363637
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1847156Reviewed-by: 's avatarMichael Starzinger <mstarzinger@chromium.org>
Reviewed-by: 's avatarAndreas Haas <ahaas@chromium.org>
Commit-Queue: Thibaud Michaud <thibaudm@chromium.org>
Cr-Commit-Position: refs/heads/master@{#64472}
parent 7f69a0da
......@@ -6,7 +6,6 @@
#define V8_WASM_WASM_FEATURE_FLAGS_H_
#define FOREACH_WASM_EXPERIMENTAL_FEATURE_FLAG(V) \
V(mv, "multi-value support", false) \
V(eh, "exception handling opcodes", false) \
V(threads, "thread opcodes", false) \
V(simd, "SIMD opcodes", false) \
......@@ -16,6 +15,7 @@
#define FOREACH_WASM_STAGING_FEATURE_FLAG(V) \
V(anyref, "anyref opcodes", false) \
V(bigint, "JS BigInt support", false) \
V(mv, "multi-value support", false) \
V(type_reflection, "wasm type reflection in JS", false)
#define FOREACH_WASM_SHIPPED_FEATURE_FLAG(V) \
......
......@@ -31,6 +31,10 @@ proposal_flags = [{
'name': 'JS-BigInt-integration',
'flags': ['--experimental-wasm-bigint']
},
{
'name': 'multi-value',
'flags': ['--experimental-wasm-mv']
},
]
......
2ecf4038f24fc08bd9da504f15942d3abb5ec685
\ No newline at end of file
b25b394cf889494d03cfabcdc10445babb214b5c
\ No newline at end of file
......@@ -25,6 +25,10 @@ proposal_flags = [{
'name': 'JS-BigInt-integration',
'flags': ['--experimental-wasm-bigint']
},
{
'name': 'multi-value',
'flags': ['--experimental-wasm-mv']
},
]
class TestLoader(testsuite.JSTestLoader):
......
f9bd936c708402051f87f4ac8940d1916112a15a
\ No newline at end of file
41071e54dbc6341c62aaa365d775137164ecc971
\ No newline at end of file
......@@ -20,6 +20,16 @@
# TODO(v8:9673): Enable these spec tests once they exist, and the out-dated
# tests have been removed.
'proposals/JS-BigInt-integration/*': [SKIP],
# TODO(v8:9865): Throwing behavior changed for these tests.
'proposals/bulk-memory-operations/linking': [FAIL],
'proposals/bulk-memory-operations/bulk': [FAIL],
'proposals/bulk-memory-operations/elem': [FAIL],
'proposals/bulk-memory-operations/data': [FAIL],
# TODO(thibaudm): Spec tests do not check multi-return functions correctly.
'proposals/multi-value/elem': [FAIL],
'proposals/multi-value/call': [FAIL],
'proposals/multi-value/if': [FAIL],
'proposals/multi-value/func': [FAIL],
}], # ALWAYS
['arch == mipsel or arch == mips64el or arch == mips or arch == mips64', {
......
......@@ -71,7 +71,7 @@ log_and_run cp -r ${TMP_DIR}/spec/test/js-api/* ${JS_API_TEST_DIR}/tests
# Generate the proposal tests.
###############################################################################
repos='bulk-memory-operations reference-types js-types JS-BigInt-integration'
repos='bulk-memory-operations reference-types js-types JS-BigInt-integration multi-value'
for repo in ${repos}; do
echo "Process ${repo}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment