From 05e0d24dc582a92eae1809451833d5c76335b81a Mon Sep 17 00:00:00 2001
From: Andrew Waterman <waterman@s141.Millennium.Berkeley.EDU>
Date: Fri, 13 May 2011 14:56:57 -0700
Subject: tweaked encoding of rdcycle & cousins

---
 instr-table.tex | 42 ++++++++++++++++++++++++++++++++++++------
 1 file changed, 36 insertions(+), 6 deletions(-)

(limited to 'instr-table.tex')

diff --git a/instr-table.tex b/instr-table.tex
index a248e85..3ccc735 100644
--- a/instr-table.tex
+++ b/instr-table.tex
@@ -1518,9 +1518,9 @@
 \multicolumn{1}{c|}{rs1} &
 \multicolumn{1}{c|}{00000} &
 \multicolumn{3}{c|}{10000} &
-\multicolumn{2}{c|}{000} &
+\multicolumn{2}{c|}{rm} &
 \multicolumn{1}{c|}{01} &
-\multicolumn{1}{c|}{1010011} & FCVT.D.S rd,rs1 \\
+\multicolumn{1}{c|}{1010011} & FCVT.D.S rd,rs1[,rm] \\
 \cline{2-11}
   
 
@@ -1602,9 +1602,9 @@
 \multicolumn{1}{c|}{rs1} &
 \multicolumn{1}{c|}{00000} &
 \multicolumn{3}{c|}{01110} &
-\multicolumn{2}{c|}{000} &
+\multicolumn{2}{c|}{rm} &
 \multicolumn{1}{c|}{01} &
-\multicolumn{1}{c|}{1010011} & FCVT.D.W rd,rs1 \\
+\multicolumn{1}{c|}{1010011} & FCVT.D.W rd,rs1[,rm] \\
 \cline{2-11}
   
 
@@ -1613,9 +1613,9 @@
 \multicolumn{1}{c|}{rs1} &
 \multicolumn{1}{c|}{00000} &
 \multicolumn{3}{c|}{01111} &
-\multicolumn{2}{c|}{000} &
+\multicolumn{2}{c|}{rm} &
 \multicolumn{1}{c|}{01} &
-\multicolumn{1}{c|}{1010011} & FCVT.D.WU rd,rs1 \\
+\multicolumn{1}{c|}{1010011} & FCVT.D.WU rd,rs1[,rm] \\
 \cline{2-11}
   
 
@@ -2020,6 +2020,36 @@
 \cline{2-11}
   
 
+&
+\multicolumn{1}{|c|}{rd} &
+\multicolumn{1}{c|}{00000} &
+\multicolumn{1}{c|}{00000} &
+\multicolumn{4}{c|}{0000000} &
+\multicolumn{2}{c|}{100} &
+\multicolumn{1}{c|}{1110111} & RDCYCLE rd \\
+\cline{2-11}
+  
+
+&
+\multicolumn{1}{|c|}{rd} &
+\multicolumn{1}{c|}{00000} &
+\multicolumn{1}{c|}{00000} &
+\multicolumn{4}{c|}{0000001} &
+\multicolumn{2}{c|}{100} &
+\multicolumn{1}{c|}{1110111} & RDTIME rd \\
+\cline{2-11}
+  
+
+&
+\multicolumn{1}{|c|}{rd} &
+\multicolumn{1}{c|}{00000} &
+\multicolumn{1}{c|}{00000} &
+\multicolumn{4}{c|}{0000010} &
+\multicolumn{2}{c|}{100} &
+\multicolumn{1}{c|}{1110111} & RDINSTRET rd \\
+\cline{2-11}
+  
+
 &
 \multicolumn{1}{|c|}{00000} &
 \multicolumn{1}{c|}{00000} &
-- 
cgit v1.2.3

