HF RL Explorer

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 RV64IMAC, Spike permits the C bit in misa (bit 2, mask 0x4 ) to be cleared at run time. While C is enabled, a 4-byte instruction may legitimately be located at a PC congruent to 2…

The task

On RV64IMAC, Spike permits the C bit in `misa` (bit 2, mask `0x4`) to be cleared at run time. While C is enabled, a 4-byte instruction may legitimately be located at a PC congruent to 2 modulo 4, for example after a preceding 2-byte compressed instruction. If such a 4-byte CSR write clears `misa.C`, and its…

Part of henryen/OriGent-SFT-Data.