Files
aji/tests/litmus/sb_fences.lit
T
dev f8d2a99249 P5-1a: independent axiomatic oracle and the litmus corpus (20 tests agree)
tools/litmus/enumerate.py was written by an independent author from spec 04
§20 alone, with the programs blind (outcome sets removed). check.py compares
its allowed sets with tests/litmus/*.lit: 20/20 equal. 21 self-tests derived
from the axioms. Both run in CI. The author's spec findings are Q-024.
2026-10-06 00:40:09 +03:00

14 lines
193 B
Plaintext

name: SB+fences
init: x=0 y=0
T0:
store x 1 rlx
fence sc
r0 = load y rlx
T1:
store y 1 rlx
fence sc
r1 = load x rlx
observe: T0.r0 T1.r1
allowed: (0,1) (1,0) (1,1)
forbidden: (0,0)