diff options
author | Bartosz Gasiorzewski <bartosz.gasiorzewski@imgtec.com> | 2024-07-05 12:25:26 +0100 |
---|---|---|
committer | Bartosz Gasiorzewski <bartosz.gasiorzewski@imgtec.com> | 2024-07-05 12:34:50 +0100 |
commit | d48c4ebaa681d77698acb98bc553d27ae6a7b246 (patch) | |
tree | dac67c0343200759f650d8ba1383cc229ceed171 | |
parent | ebf2e3a0b402cd56fd4b571b705b31f3be62c2cc (diff) | |
download | riscv-isa-manual-d48c4ebaa681d77698acb98bc553d27ae6a7b246.zip riscv-isa-manual-d48c4ebaa681d77698acb98bc553d27ae6a7b246.tar.gz riscv-isa-manual-d48c4ebaa681d77698acb98bc553d27ae6a7b246.tar.bz2 |
Fix C.NOP hint condition
This patch fixes an error in the instruction listing tables for the C
extension. The definition of the C.NOP instruction specifies that using
an immediate other than zero encodes a hint. The table was wrongly
stating the opposite: that a zero immediate encodes a hint.
-rw-r--r-- | src/images/bytefield/rvc-instr-quad1.adoc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/images/bytefield/rvc-instr-quad1.adoc b/src/images/bytefield/rvc-instr-quad1.adoc index e0f6073..3aebd40 100644 --- a/src/images/bytefield/rvc-instr-quad1.adoc +++ b/src/images/bytefield/rvc-instr-quad1.adoc @@ -14,7 +14,7 @@ (draw-box "0" {:span 5}) (draw-box "imm[4:0]" {:span 5}) (draw-box "01" {:span 2}) -(draw-box (text "C.NOP" :math [:sub "(HINT, imm=0)"]) {:span 3 :text-anchor "start" :borders {}}) +(draw-box (text "C.NOP" :math [:sub "(HINT, imm≠0)"]) {:span 3 :text-anchor "start" :borders {}}) (draw-box "000" {:span 3}) (draw-box "imm[5]") {:span 1} |