From: Frank Chang <[email protected]> MISA.C and MISA.X should be set when the following extensions are selected:
MISA.C: * Zca and not F. * Zca, Zcf and F (but not D) is specified (RV32 only). * Zca, Zcf and Zcd if D is specified (RV32 only). * Zca, Zcd if D is specified (RV64 only) MISA.X: * When there are any non-standard extensions enabled. This patchset sets MISA.[C|X] bits based on the selected extensions. Frank Chang (2): target/riscv: Update MISA.C for Zc* extensions target/riscv: Update MISA.X for non-standard extensions target/riscv/cpu.h | 1 + target/riscv/tcg/tcg-cpu.c | 46 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) -- 2.43.0
