-
Notifications
You must be signed in to change notification settings - Fork 1
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
Atomicity of load-acquire and store-release #1
Comments
The alternative is to just ban the version with neither set, which is probably the easiest way forward. I have done that in a2c8b88 for now. |
For purposes of discussion, let's focus on the load case here, remembering that there is always a corresponding store issue. |
I've removed that text. Do you think they atomicity requirement is what we should stick with, or should we change it to something else? I like that it directly states its requirements. |
I currently specify that load-acquire and store-release are atomic.
I think that is a property that should continue to be enforced, but if there was a strong reason not to I wanted to hear it.
In addition, this messes with the planned relaxation of the unordered version to a plain load.
Upon further reflection, I think that this change is probably good, it provides a way to write an unambigously atomic load/store, even if alignment is unknown (but it does that by faulting if it is nonatomic).
Will still need a new mnemoic for the unordered version though.
The text was updated successfully, but these errors were encountered: