Repair a verified behavior in riscv-software-src/riscv-isa-sim.
Repair a verified behavior in riscv-software-src/riscv-isa-sim.: a task in OriGent-SFT-Data (Harbor dataset). On RV32 systems, Spike provides a read path for mstatush (CSR 0x310), but machine-mode CSR writes to that register are silently discarded. This happens even when the Supervisor and…
The task
On RV32 systems, Spike provides a read path for mstatush (CSR 0x310), but machine-mode CSR writes to that register are silently discarded. This happens even when the Supervisor and Hypervisor extensions are enabled. As a result, machine-mode software cannot set mstatush.MPV before mret to request entry into VS-mode…
Part of henryen/OriGent-SFT-Data.