HF RL Explorer

Repair a verified behavior in sysprog21/rv32emu.

Repair a verified behavior in sysprog21/rv32emu.: a task in OriGent-SFT-Data (Harbor dataset). When RV32EMU is built with ENABLE JIT enabled, rv step(struct riscv t rv, int32 t cycles) eagerly looks up or translates the JIT basic block for rv- PC before checking whether the requested cycle budget…

The task

When RV32EMU is built with ENABLE_JIT enabled, rv_step(struct riscv_t *rv, int32_t cycles) eagerly looks up or translates the JIT basic block for rv->PC before checking whether the requested cycle budget has already been exhausted. Consequently, rv_step(rv, 0) invokes the emulator's mem_ifetch callback while…

Part of henryen/OriGent-SFT-Data.