-
Notifications
You must be signed in to change notification settings - Fork 836
Update C and JS libraries with relaxed atomics support #8248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
ef937a5 to
b08108e
Compare
b08108e to
a83a8a4
Compare
kripken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please update the changelog with the breaking changes.
| Module['MemoryOrder'] = {}; | ||
| [ 'Unordered', | ||
| 'SeqCst', | ||
| 'AcqRel' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think lowercase is more consistent for the values: we try to match the wasm text format where possible.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe the new github UI is confusing me, but this seems to be marked resolved although the values are still uppercase? SeqCst instead of seqcst as in the text format etc.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I see, they are converted below... got it.
|
Forgot a couple things, will send another update. |
| Current Trunk | ||
| ------------- | ||
| - The c api now has separate functions for `CallRef` and `ReturnCallRef` matching the semantics of `Call` and `ReturnCall`. | ||
| - The C api now has separate functions for `CallRef` and `ReturnCallRef` matching the semantics of `Call` and `ReturnCall`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add PR numbers to each line here.
kripken
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with changelog fixes
MemoryOrderargument for BinaryenAtomicLoad, BinaryenAtomicStore, BinaryenAtomicRMW, and BinaryenAtomicCmpxchg.Part of #8165