forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 0
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
https://bugs.webkit.org/show_bug.cgi?id=263292 rdar://117102231 Reviewed by NOBODY (OOPS!). 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):
- Loading branch information
Showing
11 changed files
with
1,347 additions
and
626 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.