>From eee8c456dd18cd262a88581acdba1082df6d5315 Mon Sep 17 00:00:00 2001 From: Akira Yokosawa <akiyks@xxxxxxxxx> Date: Sat, 25 Mar 2017 17:45:29 +0900 Subject: [RFC PATCH 5/7] advsync: Make code snippets more asm like Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- advsync/memorybarriers.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/advsync/memorybarriers.tex b/advsync/memorybarriers.tex index 9b8c4c5..da464fd 100644 --- a/advsync/memorybarriers.tex +++ b/advsync/memorybarriers.tex @@ -2553,7 +2553,7 @@ demonstrates transitivity with initial values of \begin{tabular}{l|l|l} \nf{CPU 1} & \nf{CPU 2} & \nf{CPU 3} \\ \hline - X = 1; & LOAD X & Y = 1; \\ + STORE X = 1 & LOAD X & STORE Y = 1 \\ & <general barrier> & <general barrier> \\ & LOAD Y & LOAD X \\ \end{tabular} @@ -2589,7 +2589,7 @@ is changed to a read barrier as shown below with the same initial values of \begin{tabular}{l|l|l} \nf{CPU 1} & \nf{CPU 2} & \nf{CPU 3} \\ \hline - X = 1; & LOAD X & Y = 1; \\ + STORE X = 1 & LOAD X & STORE Y = 1 \\ & <read barrier> & <general barrier> \\ & LOAD Y & LOAD X \\ \end{tabular} -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe perfbook" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html