-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Atomics #1059
Comments
This is important for wasm as well. |
As far as I can tell, this wouldn't be technically difficult to implement since atomic operations are the result of a |
It would also be nice to implement |
We could add a |
Necessary instructions
|
@lars-t-hansen and I talked on irc (https://mozilla.logbot.info/cranelift/20190820#c16554457):
|
ProposalCreate a enum MemoryOrdering {
NonAtomic,
SeqCst,
// Add more orderings if/when a weak memory model is implemented.
} Modify the Add the following instructions:
When a weak memory model is implemented |
I am currently emitting non atomic versions. This is doesnt have a high priority for me.
The text was updated successfully, but these errors were encountered: