AArch64 SC-DEP-CTRL (* Control dependency from Store Conditional *) { 0:X0=x; 0:X5=y; 1:X1=y; 1:X3=x; } P0 | P1 ; MOV W1,#1 | LDR W0,[X1] ; LDXR W2,[X0] | DMB LD ; STXR W3,W1,[X0] | LDR W2,[X3] ; CBNZ W3,Fail0 | ; MOV W4,#1 | ; STR W4,[X5] | ; Fail0: | ; exists (x=1 /\ 1:X0=1 /\ 1:X2=0)