summaryrefslogtreecommitdiff
path: root/scripts/test/spectest.js
diff options
context:
space:
mode:
authorAshley Nelson <nashley@google.com>2022-12-12 15:33:45 -0800
committerGitHub <noreply@github.com>2022-12-12 15:33:45 -0800
commit6c0d8f7bb674da1cf22499873f6fe87e45f3be64 (patch)
tree5787b22097c08fa94ab02cc8cd906f24a8877d47 /scripts/test/spectest.js
parent05dda84ea6d175237a92d3c2aae94cde0e6a6abb (diff)
downloadbinaryen-6c0d8f7bb674da1cf22499873f6fe87e45f3be64.tar.gz
binaryen-6c0d8f7bb674da1cf22499873f6fe87e45f3be64.tar.bz2
binaryen-6c0d8f7bb674da1cf22499873f6fe87e45f3be64.zip
Add Atomics support to Multi-Memory Lowering Pass (#5339)
This PR adds support for Atomic instructions in the multi-memory lowering pass. Also includes optional bounds checks per the wasm spec guidelines, (visitAtomicRMW, visitAtomicCmpxchg, visitAtomicWait, visitAtomicNotify). Note: The latter two instructions, memory.atomic.wait and memory.atomic.notify, have browser engine implementations that predate the still-in-progress threads spec. And whether or not atomic.notify should trap for out-of-bounds addresses remains an open issue. For now, this PR is using the same semantics as v8, which is to bounds check all Atomic instructions the same way and trap for out-of-bounds.
Diffstat (limited to 'scripts/test/spectest.js')
0 files changed, 0 insertions, 0 deletions