Skip to content
Permalink
Browse files

Fix inconsistency between RVC text and opcode table

The text was right and the table was wrong.  C.LxSP can accept rd=x0.  This
reduces decode complexity since C.FLxSP must accept rd=f0.
  • Loading branch information...
aswaterman committed Dec 13, 2017
1 parent f1b9ca7 commit 272d038abebe7f006ed7960b522f1e51890bb982
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/rvc-instr-table.tex
@@ -427,15 +427,15 @@
\multicolumn{1}{c|}{uimm[5]} &
\multicolumn{5}{c|}{rd$\neq$0} &
\multicolumn{5}{c|}{uimm[4$\vert$9:6]} &
\multicolumn{2}{c|}{10} & C.LQSP {\em \tiny (RV128; RES, rd=0)} \\
\multicolumn{2}{c|}{10} & C.LQSP {\em \tiny (RV128)} \\
\whline{2-17}

&
\multicolumn{3}{|c|}{010} &
\multicolumn{1}{c|}{uimm[5]} &
\multicolumn{5}{c|}{rd$\neq$0} &
\multicolumn{5}{c|}{uimm[4:2$\vert$7:6]} &
\multicolumn{2}{c|}{10} & C.LWSP {\em \tiny (RES, rd=0)} \\
\multicolumn{2}{c|}{10} & C.LWSP \\
\whline{2-17}

&
@@ -451,7 +451,7 @@
\multicolumn{1}{c|}{uimm[5]} &
\multicolumn{5}{c|}{rd$\neq$0} &
\multicolumn{5}{c|}{uimm[4:3$\vert$8:6]} &
\multicolumn{2}{c|}{10} & C.LDSP {\em \tiny (RV64/128; RES, rd=0)} \\
\multicolumn{2}{c|}{10} & C.LDSP {\em \tiny (RV64/128)} \\
\whline{2-17}

&

0 comments on commit 272d038

Please sign in to comment.
You can’t perform that action at this time.