Skip to content

Commit 9a9804f

Browse files
fix(csr): misa: add Q-bit in sw_read() (riscv-software-src#922)
Added bit 16 (Q-bit) to `sw_read()` for `misa` CSR according to Table 10 in Section 3.1.1. of The RISC-V Instruction Set Manual Volume II version 20250508.
1 parent 8b7ad39 commit 9a9804f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/std/isa/csr/misa.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,7 @@ sw_read(): |
236236
(CSR[misa].V << 21) |
237237
(CSR[misa].U << 20) |
238238
(CSR[misa].S << 18) |
239+
(CSR[misa].Q << 16) |
239240
(CSR[misa].M << 12) |
240241
(CSR[misa].I << 7) |
241242
(CSR[misa].H << 6) |

0 commit comments

Comments
 (0)