
\newpage

\begin{table}[p]
\begin{small}
\begin{center}
\begin{tabular}{rcccccccccl}
                &
\hspace*{0.6in} &
\hspace*{0.2in} &
\hspace*{0.5in} &
\hspace*{0.5in} &
\hspace*{0.3in} &
\hspace*{0.2in} &
\hspace*{0.4in} &
\hspace*{0.1in} &
\hspace*{0.5in} \\
                      &
\instbitrange{31}{27} &
\instbitrange{26}{25} &
\instbitrange{24}{20} &
\instbitrange{19}{15} &
\instbitrange{14}{12} &
\instbitrange{11}{10} &
\instbitrange{9}{6} &
\instbit{5} &
\instbitrange{4}{0} \\
\cline{2-10}
&
\multicolumn{1}{|c|}{opcode5} &
\multicolumn{8}{c|}{jump target} & J-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{6}{c|}{LUI-immediate} & LUI-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi/rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{funct3} &
\multicolumn{4}{c|}{immediate} & I-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{funct9} &
\multicolumn{2}{c|}{shamt} & ISH-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{funct10} &
\multicolumn{1}{c|}{rdr} & R-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{funct5} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & R4-type \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Unimplemented Instruction} & \\
\cline{2-10}
  

&
\multicolumn{9}{|c|}{00000000000000000000000000000000} & UNIMP \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Control Transfer Instructions} & \\
\cline{2-10}
  

&
\multicolumn{1}{|c|}{11000} &
\multicolumn{8}{c|}{imm27} & J imm27 \\
\cline{2-10}
  

&
\multicolumn{1}{|c|}{11001} &
\multicolumn{8}{c|}{imm27} & JAL imm27 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000000} &
\multicolumn{1}{c|}{rdr} & JALR.C rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000001} &
\multicolumn{1}{c|}{rdr} & JALR.R rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000010} &
\multicolumn{1}{c|}{rdr} & JALR.J rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{000} &
\multicolumn{4}{c|}{imm12} & BEQ rs1,rs2,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{001} &
\multicolumn{4}{c|}{imm12} & BNE rs1,rs2,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{100} &
\multicolumn{4}{c|}{imm12} & BLT rs1,rs2,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{101} &
\multicolumn{4}{c|}{imm12} & BGE rs1,rs2,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{110} &
\multicolumn{4}{c|}{imm12} & BLTU rs1,rs2,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{111} &
\multicolumn{4}{c|}{imm12} & BGEU rs1,rs2,imm12 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Memory Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{000} &
\multicolumn{4}{c|}{imm12} & LB rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{001} &
\multicolumn{4}{c|}{imm12} & LH rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{010} &
\multicolumn{4}{c|}{imm12} & LW rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{011} &
\multicolumn{4}{c|}{imm12} & LD rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{100} &
\multicolumn{4}{c|}{imm12} & LBU rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{101} &
\multicolumn{4}{c|}{imm12} & LHU rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{110} &
\multicolumn{4}{c|}{imm12} & LWU rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{111} &
\multicolumn{4}{c|}{imm12} & SYNCI rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111001} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{000} &
\multicolumn{4}{c|}{imm12} & SB rs2,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111001} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{001} &
\multicolumn{4}{c|}{imm12} & SH rs2,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111001} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{010} &
\multicolumn{4}{c|}{imm12} & SW rs2,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111001} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{011} &
\multicolumn{4}{c|}{imm12} & SD rs2,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Atomic Memory Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000000} &
\multicolumn{1}{c|}{rdr} & AMOW.ADD rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000001} &
\multicolumn{1}{c|}{rdr} & AMOW.SWAP rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000010} &
\multicolumn{1}{c|}{rdr} & AMOW.AND rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000011} &
\multicolumn{1}{c|}{rdr} & AMOW.OR rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000100} &
\multicolumn{1}{c|}{rdr} & AMOW.MIN rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000101} &
\multicolumn{1}{c|}{rdr} & AMOW.MAX rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000110} &
\multicolumn{1}{c|}{rdr} & AMOW.MINU rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0100000111} &
\multicolumn{1}{c|}{rdr} & AMOW.MAXU rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000000} &
\multicolumn{1}{c|}{rdr} & AMO.ADD rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000001} &
\multicolumn{1}{c|}{rdr} & AMO.SWAP rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000010} &
\multicolumn{1}{c|}{rdr} & AMO.AND rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000011} &
\multicolumn{1}{c|}{rdr} & AMO.OR rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000100} &
\multicolumn{1}{c|}{rdr} & AMO.MIN rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000101} &
\multicolumn{1}{c|}{rdr} & AMO.MAX rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000110} &
\multicolumn{1}{c|}{rdr} & AMO.MINU rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000111} &
\multicolumn{1}{c|}{rdr} & AMO.MAXU rdr,rs1,rs2 \\
\cline{2-10}
  

\end{tabular}
\end{center}
\end{small}

\label{instr-table}
\end{table}
  

\newpage

\begin{table}[p]
\begin{small}
\begin{center}
\begin{tabular}{rcccccccccl}
                &
\hspace*{0.6in} &
\hspace*{0.2in} &
\hspace*{0.5in} &
\hspace*{0.5in} &
\hspace*{0.3in} &
\hspace*{0.2in} &
\hspace*{0.4in} &
\hspace*{0.1in} &
\hspace*{0.5in} \\
                      &
\instbitrange{31}{27} &
\instbitrange{26}{25} &
\instbitrange{24}{20} &
\instbitrange{19}{15} &
\instbitrange{14}{12} &
\instbitrange{11}{10} &
\instbitrange{9}{6} &
\instbit{5} &
\instbitrange{4}{0} \\
\cline{2-10}
&
\multicolumn{1}{|c|}{opcode5} &
\multicolumn{8}{c|}{jump target} & J-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{6}{c|}{LUI-immediate} & LUI-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi/rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{funct3} &
\multicolumn{4}{c|}{immediate} & I-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{funct9} &
\multicolumn{2}{c|}{shamt} & ISH-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{funct10} &
\multicolumn{1}{c|}{rdr} & R-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{funct5} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & R4-type \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Integer Compute Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110001} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{6}{c|}{imm20} & LUI rdi,imm20 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{000} &
\multicolumn{4}{c|}{imm12} & ADDI rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{010} &
\multicolumn{4}{c|}{imm12} & SLTI rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{011} &
\multicolumn{4}{c|}{imm12} & SLTIU rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{100} &
\multicolumn{4}{c|}{imm12} & ANDI rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{101} &
\multicolumn{4}{c|}{imm12} & ORI rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{110} &
\multicolumn{4}{c|}{imm12} & XORI rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{111000001} &
\multicolumn{2}{c|}{shamt} & SLLI rdi,rs1,shamt \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{111000010} &
\multicolumn{2}{c|}{shamt} & SRLI rdi,rs1,shamt \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110100} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{111000011} &
\multicolumn{2}{c|}{shamt} & SRAI rdi,rs1,shamt \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000000} &
\multicolumn{1}{c|}{rdr} & ADD rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000001} &
\multicolumn{1}{c|}{rdr} & SUB rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000010} &
\multicolumn{1}{c|}{rdr} & SLT rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000011} &
\multicolumn{1}{c|}{rdr} & SLTU rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000100} &
\multicolumn{1}{c|}{rdr} & AND rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000101} &
\multicolumn{1}{c|}{rdr} & OR rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000110} &
\multicolumn{1}{c|}{rdr} & XOR rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000111} &
\multicolumn{1}{c|}{rdr} & NOR rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1110000010} &
\multicolumn{1}{c|}{rdr} & SLL rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1110000100} &
\multicolumn{1}{c|}{rdr} & SRL rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1110000110} &
\multicolumn{1}{c|}{rdr} & SRA rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000000} &
\multicolumn{1}{c|}{rdr} & MUL rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000010} &
\multicolumn{1}{c|}{rdr} & MULH rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000011} &
\multicolumn{1}{c|}{rdr} & MULHU rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000100} &
\multicolumn{1}{c|}{rdr} & DIV rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000101} &
\multicolumn{1}{c|}{rdr} & DIVU rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000110} &
\multicolumn{1}{c|}{rdr} & REM rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000111} &
\multicolumn{1}{c|}{rdr} & REMU rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf 32-bit Integer Compute Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110110} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{000} &
\multicolumn{4}{c|}{imm12} & ADDIW rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110110} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{111000001} &
\multicolumn{1}{c|}{0} &
\multicolumn{1}{c|}{shamtw} & SLLIW rdi,rs1,shamtw \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110110} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{111000010} &
\multicolumn{1}{c|}{0} &
\multicolumn{1}{c|}{shamtw} & SRLIW rdi,rs1,shamtw \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110110} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{111000011} &
\multicolumn{1}{c|}{0} &
\multicolumn{1}{c|}{shamtw} & SRAIW rdi,rs1,shamtw \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000000} &
\multicolumn{1}{c|}{rdr} & ADDW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000001} &
\multicolumn{1}{c|}{rdr} & SUBW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1110000010} &
\multicolumn{1}{c|}{rdr} & SLLW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1110000100} &
\multicolumn{1}{c|}{rdr} & SRLW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1110000110} &
\multicolumn{1}{c|}{rdr} & SRAW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000000} &
\multicolumn{1}{c|}{rdr} & MULW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000010} &
\multicolumn{1}{c|}{rdr} & MULHW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000011} &
\multicolumn{1}{c|}{rdr} & MULHUW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000100} &
\multicolumn{1}{c|}{rdr} & DIVW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000101} &
\multicolumn{1}{c|}{rdr} & DIVUW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000110} &
\multicolumn{1}{c|}{rdr} & REMW rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1110111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0010000111} &
\multicolumn{1}{c|}{rdr} & REMUW rdr,rs1,rs2 \\
\cline{2-10}
  

\end{tabular}
\end{center}
\end{small}

\label{instr-table}
\end{table}
  

\newpage

\begin{table}[p]
\begin{small}
\begin{center}
\begin{tabular}{rcccccccccl}
                &
\hspace*{0.6in} &
\hspace*{0.2in} &
\hspace*{0.5in} &
\hspace*{0.5in} &
\hspace*{0.3in} &
\hspace*{0.2in} &
\hspace*{0.4in} &
\hspace*{0.1in} &
\hspace*{0.5in} \\
                      &
\instbitrange{31}{27} &
\instbitrange{26}{25} &
\instbitrange{24}{20} &
\instbitrange{19}{15} &
\instbitrange{14}{12} &
\instbitrange{11}{10} &
\instbitrange{9}{6} &
\instbit{5} &
\instbitrange{4}{0} \\
\cline{2-10}
&
\multicolumn{1}{|c|}{opcode5} &
\multicolumn{8}{c|}{jump target} & J-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{6}{c|}{LUI-immediate} & LUI-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi/rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{funct3} &
\multicolumn{4}{c|}{immediate} & I-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{funct9} &
\multicolumn{2}{c|}{shamt} & ISH-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{funct10} &
\multicolumn{1}{c|}{rdr} & R-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{funct5} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & R4-type \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Floating-Point Memory Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{010} &
\multicolumn{4}{c|}{imm12} & L.S rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101000} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{011} &
\multicolumn{4}{c|}{imm12} & L.D rdi,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101001} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{010} &
\multicolumn{4}{c|}{imm12} & S.S rs2,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101001} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{011} &
\multicolumn{4}{c|}{imm12} & S.D rs2,rs1,imm12 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Floating-Point Compute Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000000} &
\multicolumn{1}{c|}{rdr} & ADD.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000001} &
\multicolumn{1}{c|}{rdr} & SUB.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000010} &
\multicolumn{1}{c|}{rdr} & MUL.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000011} &
\multicolumn{1}{c|}{rdr} & DIV.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000100} &
\multicolumn{1}{c|}{rdr} & SQRT.S rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000000} &
\multicolumn{1}{c|}{rdr} & ADD.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000001} &
\multicolumn{1}{c|}{rdr} & SUB.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000010} &
\multicolumn{1}{c|}{rdr} & MUL.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000011} &
\multicolumn{1}{c|}{rdr} & DIV.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000100} &
\multicolumn{1}{c|}{rdr} & SQRT.D rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101100} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{00000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & MADD.S rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{00000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & MSUB.S rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101110} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{00000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & NMSUB.S rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{00000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & NMADD.S rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101100} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{11000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & MADD.D rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101101} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{11000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & MSUB.D rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101110} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{11000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & NMSUB.D rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101111} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{11000} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & NMADD.D rdr,rs1,rs2,rs3 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Floating-Point Compare Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000010101} &
\multicolumn{1}{c|}{rdr} & C.EQ.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000010110} &
\multicolumn{1}{c|}{rdr} & C.LT.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000010111} &
\multicolumn{1}{c|}{rdr} & C.LE.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100010101} &
\multicolumn{1}{c|}{rdr} & C.EQ.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100010110} &
\multicolumn{1}{c|}{rdr} & C.LT.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100010111} &
\multicolumn{1}{c|}{rdr} & C.LE.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Floating-Point Move \& Conversion Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000101} &
\multicolumn{1}{c|}{rdr} & SGNINJ.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000110} &
\multicolumn{1}{c|}{rdr} & SGNINJN.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000000111} &
\multicolumn{1}{c|}{rdr} & SGNMUL.S rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000101} &
\multicolumn{1}{c|}{rdr} & SGNINJ.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000110} &
\multicolumn{1}{c|}{rdr} & SGNINJN.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100000111} &
\multicolumn{1}{c|}{rdr} & SGNMUL.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000010011} &
\multicolumn{1}{c|}{rdr} & CVT.S.D rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100010000} &
\multicolumn{1}{c|}{rdr} & CVT.D.S rdr,rs1 \\
\cline{2-10}
  

\end{tabular}
\end{center}
\end{small}

\label{instr-table}
\end{table}
  

\newpage

\begin{table}[p]
\begin{small}
\begin{center}
\begin{tabular}{rcccccccccl}
                &
\hspace*{0.6in} &
\hspace*{0.2in} &
\hspace*{0.5in} &
\hspace*{0.5in} &
\hspace*{0.3in} &
\hspace*{0.2in} &
\hspace*{0.4in} &
\hspace*{0.1in} &
\hspace*{0.5in} \\
                      &
\instbitrange{31}{27} &
\instbitrange{26}{25} &
\instbitrange{24}{20} &
\instbitrange{19}{15} &
\instbitrange{14}{12} &
\instbitrange{11}{10} &
\instbitrange{9}{6} &
\instbit{5} &
\instbitrange{4}{0} \\
\cline{2-10}
&
\multicolumn{1}{|c|}{opcode5} &
\multicolumn{8}{c|}{jump target} & J-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{6}{c|}{LUI-immediate} & LUI-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi/rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{1}{c|}{funct3} &
\multicolumn{4}{c|}{immediate} & I-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rdi} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{3}{c|}{funct9} &
\multicolumn{2}{c|}{shamt} & ISH-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{funct10} &
\multicolumn{1}{c|}{rdr} & R-type \\
\cline{2-10}
&
\multicolumn{2}{|c|}{opcode} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{2}{c|}{funct5} &
\multicolumn{2}{c|}{rs3} &
\multicolumn{1}{c|}{rdr} & R4-type \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Integer to Floating-Point Move \& Conversion Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000001100} &
\multicolumn{1}{c|}{rdr} & CVT.S.L rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000001101} &
\multicolumn{1}{c|}{rdr} & CVTU.S.L rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000001110} &
\multicolumn{1}{c|}{rdr} & CVT.S.W rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0000001111} &
\multicolumn{1}{c|}{rdr} & CVTU.S.W rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100001100} &
\multicolumn{1}{c|}{rdr} & CVT.D.L rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100001101} &
\multicolumn{1}{c|}{rdr} & CVTU.D.L rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100001110} &
\multicolumn{1}{c|}{rdr} & CVT.D.W rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1100001111} &
\multicolumn{1}{c|}{rdr} & CVTU.D.W rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1101111100} &
\multicolumn{1}{c|}{rdr} & MTFLH.D rdr,rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0001011100} &
\multicolumn{1}{c|}{rdr} & MTF.S rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1101011100} &
\multicolumn{1}{c|}{rdr} & MTF.D rdr,rs1 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Floating-Point to Integer Move \& Conversion Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{1101011001} &
\multicolumn{1}{c|}{rdr} & MFFL.D rdr,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{1101011010} &
\multicolumn{1}{c|}{rdr} & MFFH.D rdr,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{0001011000} &
\multicolumn{1}{c|}{rdr} & MFF.S rdr,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1101010} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{1101011000} &
\multicolumn{1}{c|}{rdr} & MFF.D rdr,rs2 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Miscellaneous Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{0010000000} &
\multicolumn{1}{c|}{rdr} & RDNPC rdr \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{0100000000} &
\multicolumn{1}{c|}{rdr} & MFCR rdr,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{0110000000} &
\multicolumn{1}{c|}{00000} & MTCR rs1,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{1000000000} &
\multicolumn{1}{c|}{00000} & SYNC  \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{1010000000} &
\multicolumn{1}{c|}{00000} & SYSCALL imm12 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111011} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{1100000000} &
\multicolumn{1}{c|}{00000} & BREAK imm12 \\
\cline{2-10}
  

&
\multicolumn{9}{c}{} & \\
&
\multicolumn{9}{c}{\bf Privileged Instructions} & \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111110} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{0000000000} &
\multicolumn{1}{c|}{rdr} & EI rdr \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111110} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{0010000000} &
\multicolumn{1}{c|}{rdr} & DI rdr \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111110} &
\multicolumn{1}{c|}{00000} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{0100000000} &
\multicolumn{1}{c|}{00000} & ERET  \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111110} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{00000} &
\multicolumn{4}{c|}{1000000000} &
\multicolumn{1}{c|}{rdr} & MFPCR rdr,rs2 \\
\cline{2-10}
  

&
\multicolumn{2}{|c|}{1111110} &
\multicolumn{1}{c|}{rs2} &
\multicolumn{1}{c|}{rs1} &
\multicolumn{4}{c|}{1010000000} &
\multicolumn{1}{c|}{00000} & MTPCR rs1,rs2 \\
\cline{2-10}
  

\end{tabular}
\end{center}
\end{small}
\caption{Instruction listing for RISC-V}
\label{instr-table}
\end{table}
  
