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
SYNCpseudoinstruction is supposed to correspond to a 'fast serialization' instruction of the formbcr 14,0. However, in CL 197178 I accidentally changed it to bebcr 7,0which is a no-op.This could cause subtle issues in lock-free code since we use
SYNCas a store-load memory barrier.Related to #32428.