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?
to your account
The SYNC pseudoinstruction is supposed to correspond to a 'fast serialization' instruction of the form bcr 14,0. However, in CL 197178 I accidentally changed it to be bcr 7,0 which is a no-op.
This could cause subtle issues in lock-free code since we use SYNC as a store-load memory barrier.
Related to #32428.
The text was updated successfully, but these errors were encountered:
Change https://golang.org/cl/268797 mentions this issue: cmd/internal/obj/s390x: fix SYNC instruction encoding
cmd/internal/obj/s390x: fix SYNC instruction encoding
Sorry, something went wrong.
No branches or pull requests