1C ISA2+pooncerelease+poacquirerelease+poacquireonce 2 3{} 4 5P0(int *x, int *y) 6{ 7 WRITE_ONCE(*x, 1); 8 smp_store_release(y, 1); 9} 10 11P1(int *y, int *z) 12{ 13 int r0; 14 15 r0 = smp_load_acquire(y); 16 smp_store_release(z, 1); 17} 18 19P2(int *x, int *z) 20{ 21 int r0; 22 int r1; 23 24 r0 = smp_load_acquire(z); 25 r1 = READ_ONCE(*x); 26} 27 28exists (1:r0=1 /\ 2:r0=1 /\ 2:r1=0) 29