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 with the hypervisor extension enabled, mstatush exposes high-half mstatus state, including writable fields such as MPV and GVA, through the upper 32 bits of the simulator's wider…
The task
On RV32 with the hypervisor extension enabled, mstatush exposes high-half mstatus state, including writable fields such as MPV and GVA, through the upper 32 bits of the simulator's wider mstatus representation. An instruction such as `csrw mstatus, zero` incorrectly clears these high-half bits. For example, after…
Part of henryen/OriGent-SFT-Data.