cmd/internal/obj/s390x: SYNC instruction encoding incorrect #42479
Labels
arch-s390x
Issues solely affecting the s390x architecture.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Milestone
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.
The text was updated successfully, but these errors were encountered: