>On Tue, Jun 17, 2025 at 4:29 PM ~liuxu <li...@git.sr.ht> wrote: >> >> Thanks for Alistair's correction on the V8 version. >> >> Now Zclsd has been disabled for the "max" CPU as C and F are already >> enabled. > >This is still broken with userspace mode: > >``` >qemu-riscv64: Zclsd cannot be supported together with C and F extension >``` > >Alistair
Could you please tell me the specific reproduction method? I have re-reviewed the code and tried the tests that come with qemu, but I still haven't figured out why the above error occurre. >> lxx (1): >> target/riscv: Add Zilsd and Zclsd extension support >> >> target/riscv/cpu.c | 4 + >> target/riscv/cpu_cfg_fields.h.inc | 2 + >> target/riscv/insn16.decode | 8 ++ >> target/riscv/insn32.decode | 12 ++- >> target/riscv/insn_trans/trans_zilsd.c.inc | 112 ++++++++++++++++++++++ >> target/riscv/tcg/tcg-cpu.c | 32 +++++++ >> target/riscv/translate.c | 1 + >> 7 files changed, 169 insertions(+), 2 deletions(-) >> create mode 100644 target/riscv/insn_trans/trans_zilsd.c.inc >> >> -- >> 2.45.3