riscv / riscv-bitmanip

Working draft of the proposed RISC-V Bitmanipulation extension
https://jira.riscv.org/browse/RVG-122
Creative Commons Attribution 4.0 International
204 stars 66 forks source link

Meaning of misa.B in relationship to Zba, Zbb, Zbc and Zbs extensions #153

Open Silabs-ArjanB opened 3 years ago

Silabs-ArjanB commented 3 years ago

How does the B bit in the MISA CSR relate to the Zba, Zbb, Zbc and Zbs extensions? If a core implements the Zba, Zbb, Zbc and Zbs extensions should it then also set MISA.B to 1? What if a core for example only implements the Zbb extension?

zhonghochen commented 1 year ago

Here is a related issue https://github.com/riscv/riscv-isa-manual/issues/907