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). Spike incorrectly treats the Hypervisor extension as immutable while initializing the Sscofpmf machine hardware performance-monitor event CSRs. The H bit in misa is writable, so extension…
The task
Spike incorrectly treats the Hypervisor extension as immutable while initializing the Sscofpmf machine hardware performance-monitor event CSRs. The H bit in `misa` is writable, so extension H must be queried through the processor's dynamic extension-enabled API rather than `extension_enabled_const()`.
Part of henryen/OriGent-SFT-Data.