diff options
author | Andrew <apb@armyofcats.co.uk> | 2018-08-30 19:15:36 +0100 |
---|---|---|
committer | Andrew Waterman <aswaterman@gmail.com> | 2018-08-30 11:15:36 -0700 |
commit | c320713b27050036c25ae09b349ce912649e3267 (patch) | |
tree | 9548c9a37a7f1558d54bacf3f2ca9fa86d952baa | |
parent | ebeb14b4259e078097a2fb07aa25bdecc2e9e4d6 (diff) | |
download | riscv-isa-manual-c320713b27050036c25ae09b349ce912649e3267.zip riscv-isa-manual-c320713b27050036c25ae09b349ce912649e3267.tar.gz riscv-isa-manual-c320713b27050036c25ae09b349ce912649e3267.tar.bz2 |
Remove text stating C.ADDI4SPN is RV32C/RV64C-only (#223)
The paragraph of text describing C.ADDI4SPN states the instruction is
RV32C/RV64C-only, but the opcode map indicates the instruction is
available for RV128C too. This change updates the descriptive text,
assuming that the opcode map is correct.
-rw-r--r-- | src/c.tex | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -829,9 +829,9 @@ C.ADDI4SPN & nzuimm[5:4$\vert$9:6$\vert$2$\vert$3] & dest & C0 \\ \end{tabular} \end{center} -C.ADDI4SPN is a CIW-format RV32C/RV64C-only instruction that adds a -{\em zero}-extended non-zero immediate, scaled by 4, to the stack pointer, -{\tt x2}, and writes the result to {\tt rd$'$}. This instruction is used +C.ADDI4SPN is a CIW-format instruction that adds a {\em zero}-extended +non-zero immediate, scaled by 4, to the stack pointer, {\tt x2}, and +writes the result to {\tt rd$'$}. This instruction is used to generate pointers to stack-allocated variables, and expands to {\tt addi rd$'$, x2, nzuimm[9:2]}. |