[PATCH 4/5] memorder: Add multi-column headers to 'Summary of Memory Ordering' table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>From 6aa821a7b0717c2944aa67b53086b7da09abee55 Mon Sep 17 00:00:00 2001
From: Akira Yokosawa <akiyks@xxxxxxxxx>
Date: Sun, 24 Sep 2017 00:43:51 +0900
Subject: [PATCH 4/5] memorder: Add multi-column headers to 'Summary of Memory Ordering' table

Also tweak the cell of "Atomic Instructions Reordered With Loads or
Stores?" for it to be vertically positioned at the center of the row.
The width of the column is now specified by the width of the parbox.

Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
 memorder/memorder.tex | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/memorder/memorder.tex b/memorder/memorder.tex
index 00ff31c..4f0029a 100644
--- a/memorder/memorder.tex
+++ b/memorder/memorder.tex
@@ -3680,9 +3680,11 @@ dependencies.
 \small
 \centering
 \renewcommand*{\arraystretch}{1.2}\OneColumnHSpace{-.6in}
-\begin{tabular}{lp{2in}ccccccccccc}
+\begin{tabular}{llccccccccccc}
 	\toprule
-	\multicolumn{2}{l}{~}
+	\multicolumn{2}{l}{~} & \multicolumn{11}{c}{CPU Family} \\
+	\cmidrule{3-13}
+	\multicolumn{2}{c}{\raisebox{.5ex}{Property}}
 	& \begin{picture}(6,60)(0,0)
 		\rotatebox{90}{Alpha}
 	  \end{picture}
@@ -3728,7 +3730,7 @@ dependencies.
 \cellcolor{white}
 	& Stores Reordered After Loads?
 		 & Y   & Y   & Y   & Y     & Y  & Y     & ~   & Y & Y   & Y & Y \\
-	& Atomic Instructions Reordered With Loads or Stores?
+	& \parbox[c][6ex]{2in}{\raggedright Atomic Instructions Reordered With\par Loads or Stores?}
 		 & Y   & Y   & Y   & ~     & Y  & ~     & ~   & Y & ~   & ~ & ~ \\
 \cellcolor{white}
 	& Dependent Loads Reordered?
-- 
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



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux