aboutsummaryrefslogtreecommitdiff
path: root/src/c-st-ext.adoc
diff options
context:
space:
mode:
authorBill Traynor <wmat@riscv.org>2023-08-16 12:03:52 -0400
committerBill Traynor <wmat@riscv.org>2023-08-16 12:03:52 -0400
commitbebbab6cc3ca14f0c3532340b9a8c51db7d1843a (patch)
treeb9f58b0061fd306b329e2a7a1561c0731e60a506 /src/c-st-ext.adoc
parent3bb555cfa7d01eeffe9c377008ff4f5c1da3e4b9 (diff)
downloadriscv-isa-manual-bebbab6cc3ca14f0c3532340b9a8c51db7d1843a.zip
riscv-isa-manual-bebbab6cc3ca14f0c3532340b9a8c51db7d1843a.tar.gz
riscv-isa-manual-bebbab6cc3ca14f0c3532340b9a8c51db7d1843a.tar.bz2
Fix description of C.SLLI
Fix description of C.SLLI to match LaTeX
Diffstat (limited to 'src/c-st-ext.adoc')
-rw-r--r--src/c-st-ext.adoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c-st-ext.adoc b/src/c-st-ext.adoc
index db4c51f..cfd9538 100644
--- a/src/c-st-ext.adoc
+++ b/src/c-st-ext.adoc
@@ -641,7 +641,7 @@ C.SLLI is a CI-format instruction that performs a logical left shift of
the value in register _rd_ then writes the result to _rd_. The shift
amount is encoded in the _shamt_ field. For RV128C, a shift amount of
zero is used to encode a shift of 64. C.SLLI expands into
-`slli rd, rd, shamt`, except for RV128C with `shamt=0`, which expands to
+`slli rd, rd, shamt[5:0]`, except for RV128C with `shamt=0`, which expands to
`slli rd, rd, 64`.
For RV32C, _shamt[5]_ must be zero; the code points with _shamt[5]_=1