summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlon Zakai <azakai@google.com>2024-08-29 08:48:20 -0700
committerGitHub <noreply@github.com>2024-08-29 08:48:20 -0700
commit992468376b0cce76410be55bf3fbcacad141b7db (patch)
tree9bd8f20c3aa2aa627d3cd0a254dc30f7205cd697 /scripts
parent95ddd057424b996a0a2a54f282c6c567246d8cc9 (diff)
downloadbinaryen-992468376b0cce76410be55bf3fbcacad141b7db.tar.gz
binaryen-992468376b0cce76410be55bf3fbcacad141b7db.tar.bz2
binaryen-992468376b0cce76410be55bf3fbcacad141b7db.zip
Ignore fp16 in the fuzzer (#6881)
Add the feature flag in V8 invocations, but also disable the feature as it isn't quite ready yet.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/fuzz_opt.py3
-rw-r--r--scripts/test/shared.py1
2 files changed, 3 insertions, 1 deletions
diff --git a/scripts/fuzz_opt.py b/scripts/fuzz_opt.py
index e06e13b72..665ae7cbd 100755
--- a/scripts/fuzz_opt.py
+++ b/scripts/fuzz_opt.py
@@ -49,7 +49,8 @@ assert sys.version_info.major == 3, 'requires Python 3!'
# parameters
# feature options that are always passed to the tools.
-CONSTANT_FEATURE_OPTS = ['--all-features']
+# XXX fp16 is not yet stable, remove from here when it is
+CONSTANT_FEATURE_OPTS = ['--all-features', '--disable-fp16']
INPUT_SIZE_MIN = 1024
INPUT_SIZE_MEAN = 40 * 1024
diff --git a/scripts/test/shared.py b/scripts/test/shared.py
index 4ca065d03..624a2f19a 100644
--- a/scripts/test/shared.py
+++ b/scripts/test/shared.py
@@ -257,6 +257,7 @@ V8_OPTS = [
'--experimental-wasm-compilation-hints',
'--experimental-wasm-memory64',
'--experimental-wasm-stringref',
+ '--experimental-wasm-fp16',
]
# external tools