"Experimental model, with atomics"
include "cos.cat"
acyclic po-loc | rf | fr | co
empty rmw & (fre;coe)
as atomic
let dd = addr | data
let rdw = po-loc & (fre;rfe)
let detour = po-loc & (coe ; rfe)
let addrpo = addr;po
let aa = po & (A * A)
include "ppcfences.cat"
show isync,ctrlisync
show lwsync
as lwsync
show eieio
as eieio
show sync
let WW = W * W
let RM = R * M
let RR = R * R
let WR = W * R
let ci0 = ctrlisync | detour | aa & RR | aa & WR
let ii0 = dd | rfi | rdw
let cc0 = dd | po-loc | ctrl | addrpo | aa
let ic0 =
0
include "ppo.cat"
let lwsync = lwsync & RM | lwsync & WW
let eieio = eieio & WW
let strong = sync
let light = lwsync|eieio
include "ppc-checks.cat"