Skip to content

Add atomic.fence instruction#2307

Merged
aheejin merged 4 commits into
WebAssembly:masterfrom
aheejin:atomic_fence
Aug 27, 2019
Merged

Add atomic.fence instruction#2307
aheejin merged 4 commits into
WebAssembly:masterfrom
aheejin:atomic_fence

Conversation

@aheejin

@aheejin aheejin commented Aug 26, 2019

Copy link
Copy Markdown
Member

This adds atomic.fence instruction:
https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md#fence-operator

This also fix bugs in atomic.wait and atomic.notify instructions in
binaryen.js and adds tests for them.

This adds `atomic.fence` instruction:
https://github.com/WebAssembly/threads/blob/master/proposals/threads/Overview.md#fence-operator

This also fix bugs in `atomic.wait` and `atomic.notify` instructions in
binaryen.js and adds tests for them.
@aheejin aheejin requested review from dschuff and kripken August 26, 2019 13:39
Comment thread src/wasm2js.h

@dschuff dschuff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, but I'm not sure about the answer to your question.

Comment thread src/js/binaryen.js-post.js
Comment thread src/wasm/wasm-binary.cpp Outdated
Comment thread src/wasm2js.h
@aheejin aheejin merged commit cb0b31a into WebAssembly:master Aug 27, 2019
@aheejin aheejin deleted the atomic_fence branch August 27, 2019 23:41
aheejin added a commit to aheejin/binaryen that referenced this pull request Aug 27, 2019
This adds `-all` argument to wasm2js testing and fixes wasm2js to
actually take that argument (currently it doesn't, when it takes a wast
file). This also adds a wasm2js test for `atomic.fence` instruction that
was added in WebAssembly#2307.
aheejin added a commit that referenced this pull request Aug 28, 2019
This adds `-all` argument to wasm2js testing and fixes wasm2js to
actually take that argument (currently it doesn't, when it takes a wast
file). This also adds a wasm2js test for `atomic.fence` instruction that
was added in #2307.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants