aboutsummaryrefslogtreecommitdiff
path: root/src/rvc-opcode-map.tex
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2017-02-01 20:41:47 -0800
committerAndrew Waterman <andrew@sifive.com>2017-02-01 20:41:47 -0800
commitab6f8c9bd7bc85361fcf35667d1fddfaf367a53f (patch)
tree716a2118ca0565dbb4e7903723f283ae4dd13c46 /src/rvc-opcode-map.tex
parent207a7c6ee51aa2fd74d4618cd1369ddc21706b9e (diff)
downloadriscv-isa-manual-ab6f8c9bd7bc85361fcf35667d1fddfaf367a53f.zip
riscv-isa-manual-ab6f8c9bd7bc85361fcf35667d1fddfaf367a53f.tar.gz
riscv-isa-manual-ab6f8c9bd7bc85361fcf35667d1fddfaf367a53f.tar.bz2
Reorganize directory structure
Diffstat (limited to 'src/rvc-opcode-map.tex')
-rw-r--r--src/rvc-opcode-map.tex27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/rvc-opcode-map.tex b/src/rvc-opcode-map.tex
new file mode 100644
index 0000000..48eeb08
--- /dev/null
+++ b/src/rvc-opcode-map.tex
@@ -0,0 +1,27 @@
+\vspace{0.1in}
+\definecolor{gray}{RGB}{180,180,180}
+\begin{table*}[htbp]
+\begin{center}
+{\footnotesize
+\setlength{\tabcolsep}{4pt}
+\begin{tabular}{|r|c|c|c|c|c|c|c|c|l}
+ \cline{1-9}
+ inst[15:13] & \multirow{2}{*}{000}& \multirow{2}{*}{001}& \multirow{2}{*}{010}& \multirow{2}{*}{011}& \multirow{2}{*}{100}& \multirow{2}{*}{101}& \multirow{2}{*}{110}& \multirow{2}{*}{111}\\ \cline{1-1}
+ inst[1:0] & & & & & & & & \\ \cline{1-9}
+ \multirow{3}{*}{00} & \multirow{3}{*}{ADDI4SPN} & FLD & \multirow{3}{*}{LW} & FLW & \multirow{3}{*}{\em Reserved} & FSD & \multirow{3}{*}{SW} & FSW & RV32 \\
+ & & FLD & & LD & & FSD & & SD & RV64 \\
+ & & LQ & & LD & & SQ & & SD & RV128 \\ \hline
+ \multirow{3}{*}{01} & \multirow{3}{*}{ADDI} & JAL & \multirow{3}{*}{LI} & \multirow{3}{*}{LUI/ADDI16SP} & \multirow{3}{*}{MISC-ALU} & \multirow{3}{*}{J} & \multirow{3}{*}{BEQZ} & \multirow{3}{*}{BNEZ} & RV32 \\
+ & & ADDIW & & & & & & & RV64 \\
+ & & ADDIW & & & & & & & RV128 \\ \hline
+ \multirow{3}{*}{10} & \multirow{3}{*}{SLLI} & FLDSP & \multirow{3}{*}{LWSP} & FLWSP & \multirow{3}{*}{J[AL]R/MV/ADD} & FSDSP & \multirow{3}{*}{SWSP} & FSWSP & RV32 \\
+ & & FLDSP & & LDSP & & FSDSP & & SDSP & RV64 \\
+ & & LQ & & LDSP & & SQ & & SDSP & RV128 \\ \cline{1-9}
+ \cellcolor{gray} 11 & \multicolumn{8}{c|}{\cellcolor{gray} $>$16b} \\ \cline{1-9}
+ \end{tabular}
+}
+\end{center}
+\vspace{-0.15in}
+\caption{RVC opcode map}
+\label{rvcopcodemap}
+\end{table*}