\newpage \begin{table}[p] \begin{small} \begin{center} \begin{tabular}{p{0in}p{0.4in}p{0.05in}p{0.05in}p{0.05in}p{0.05in}p{0.4in}p{0.6in}p{0.4in}p{0.6in}p{0.7in}l} & & & & & & & & & & \\ & \multicolumn{1}{l}{\instbit{31}} & \multicolumn{1}{r}{\instbit{27}} & \instbit{26} & \instbit{25} & \multicolumn{1}{l}{\instbit{24}} & \multicolumn{1}{r}{\instbit{20}} & \instbitrange{19}{15} & \instbitrange{14}{12} & \instbitrange{11}{7} & \instbitrange{6}{0} \\ \cline{2-11} & \multicolumn{4}{|c|}{funct7} & \multicolumn{2}{c|}{rs2} & \multicolumn{1}{c|}{rs1} & \multicolumn{1}{c|}{funct3} & \multicolumn{1}{c|}{rd} & \multicolumn{1}{c|}{opcode} & R-type \\ \cline{2-11} & \multicolumn{6}{|c|}{imm[11:0]} & \multicolumn{1}{c|}{rs1} & \multicolumn{1}{c|}{funct3} & \multicolumn{1}{c|}{rd} & \multicolumn{1}{c|}{opcode} & I-type \\ \cline{2-11} & \multicolumn{10}{c}{} & \\ & \multicolumn{10}{c}{\bf Trap-Return Instructions} & \\ \cline{2-11} & \multicolumn{4}{|c|}{0000000} & \multicolumn{2}{c|}{00010} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{1110011} & URET \\ \cline{2-11} & \multicolumn{4}{|c|}{0001000} & \multicolumn{2}{c|}{00010} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{1110011} & SRET \\ \cline{2-11} & \multicolumn{4}{|c|}{0011000} & \multicolumn{2}{c|}{00010} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{1110011} & MRET \\ \cline{2-11} & \multicolumn{10}{c}{} & \\ & \multicolumn{10}{c}{\bf Interrupt-Management Instructions} & \\ \cline{2-11} & \multicolumn{4}{|c|}{0001000} & \multicolumn{2}{c|}{00101} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{1110011} & WFI \\ \cline{2-11} & \multicolumn{10}{c}{} & \\ & \multicolumn{10}{c}{\bf Supervisor Memory-Management Instructions} & \\ \cline{2-11} & \multicolumn{4}{|c|}{0001001} & \multicolumn{2}{c|}{rs2} & \multicolumn{1}{c|}{rs1} & \multicolumn{1}{c|}{000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{1110011} & SFENCE.VMA \\ \cline{2-11} & \multicolumn{10}{c}{} & \\ & \multicolumn{10}{c}{\bf Hypervisor Memory-Management Instructions} & \\ \cline{2-11} & \multicolumn{4}{|c|}{0010001} & \multicolumn{2}{c|}{rs2} & \multicolumn{1}{c|}{rs1} & \multicolumn{1}{c|}{000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{1110011} & HFENCE.VVMA \\ \cline{2-11} & \multicolumn{4}{|c|}{0110001} & \multicolumn{2}{c|}{rs2} & \multicolumn{1}{c|}{rs1} & \multicolumn{1}{c|}{000} & \multicolumn{1}{c|}{00000} & \multicolumn{1}{c|}{1110011} & HFENCE.GVMA \\ \cline{2-11} \end{tabular} \end{center} \end{small} \caption{RISC-V Privileged Instructions} \end{table}