changes
[cdsspec-compiler.git] / correctness-model / writeup / figures / ww_sc_fence_mo.dot
diff --git a/correctness-model/writeup/figures/ww_sc_fence_mo.dot b/correctness-model/writeup/figures/ww_sc_fence_mo.dot
new file mode 100644 (file)
index 0000000..3edead9
--- /dev/null
@@ -0,0 +1,18 @@
+digraph ww_sc_fence_mo {
+margin=0
+ranksep=.3;
+
+N1 [label="A: v.store(1)", shape=none];
+N2 [label="X: fence(seq-cst)", shape=none];
+N3 [label="Y: fence(seq-cst)", shape=none];
+N4 [label="B: v.store(2)", shape=none];
+N5 [style=invis, shape=point];
+
+//N1 -> N4 [label="mo", color="#00aa00", style=dashed, penwidth=3];
+N2 -> N3 [label="sc", color=purple];
+N1 -> N2 [label="sb", color=blue, weight=100];
+N3 -> N4 [label="sb", color=blue, weight=100];
+N2 -> N5 [style=invis];
+N5 -> N4 [style=invis];
+{rank=same; N4 N5}
+}