-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update wasm threads proposal tests and fix cmpxchg_u (edited)
https://bugs.webkit.org/show_bug.cgi?id=263292 rdar://117102231 Reviewed by Justin Michaud and Yusuke Suzuki. In WebAssembly/threads#195, it was documented that JSC implements cmpxchg_u without wrapping the expected value. Previously, the spec tests and reference interpreter followed this interpretation, but the spec text, SpiderMonkey and v8 did the wrapping. The spec tests were updated, and this new behaviour is simpler anyway, so let's just do it. * JSTests/wasm/spec-tests/atomic.wast.js: Added. * JSTests/wasm/spec-tests/binary-leb128.wast.js: * JSTests/wasm/spec-tests/binary.wast.js: * JSTests/wasm/spec-tests/br_table.wast.js: * JSTests/wasm/spec-tests/elem.wast.js: * JSTests/wasm/spec-tests/float_literals.wast.js: * JSTests/wasm/threads-spec-tests/atomic-signed.wast.js: * Source/JavaScriptCore/llint/WebAssembly32_64.asm: * Source/JavaScriptCore/llint/WebAssembly64.asm: * Source/JavaScriptCore/wasm/WasmB3IRGenerator.cpp: (JSC::Wasm::B3IRGenerator::emitAtomicCompareExchange): * Source/JavaScriptCore/wasm/WasmBBQJIT.cpp: (JSC::Wasm::BBQJIT::emitAtomicCompareExchange): Canonical link: https://commits.webkit.org/270828@main
- Loading branch information
Showing
12 changed files
with
1,355 additions
and
654 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.