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, minstret and minstreth expose the low and high 32-bit halves of one 64-bit retired-instruction counter. An explicit CSR write to either half must update only that half, and the…
The task
On RV32, minstret and minstreth expose the low and high 32-bit halves of one 64-bit retired-instruction counter. An explicit CSR write to either half must update only that half, and the automatic increment for the instruction that performs the write must not be added to the resulting 64-bit value.
Part of henryen/OriGent-SFT-Data.