Test RWC+mbs

C RWC+fencembs
Hash=69f3a103b6b9678fa36f85d6634e5cc9
Cycle=Rfe FenceMbdRR Fre FenceMbdWR Fre
Relax=
Safe=Rfe Fre FenceMbdWR FenceMbdRR
Generator=diy7 (version 7.46+1)
Prefetch=1:x=F,1:y=T,2:y=F,2:x=T
Com=Rf Fr Fr
Orig=Rfe FenceMbdRR Fre FenceMbdWR Fre

{}


P0(int* x) {
  WRITE_ONCE(*x,1);
}

P1(int* x,int* y) {
  int r0 = READ_ONCE(*x);
  smp_mb();
  int r1 = READ_ONCE(*y);
}

P2(int* x,int* y) {
  WRITE_ONCE(*y,1);
  smp_mb();
  int r0 = READ_ONCE(*x);
}

exists (1:r0=1 /\ 1:r1=0 /\ 2:r0=0)

C11 equivalent: c11-prop-src/RWC+fencembs.litmus