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). In system-mode JIT emulation, an address-specific SFENCE.VMA can fail to invalidate a translated basic block that crosses a 4 KiB page boundary. cache invalidate va(cache, va, satp) currently decides…

The task

In system-mode JIT emulation, an address-specific SFENCE.VMA can fail to invalidate a translated basic block that crosses a 4 KiB page boundary. cache_invalidate_va(cache, va, satp) currently decides which page a block belongs to solely from block->pc_start. For example, a block with pc_start = 0x1ff8 and exclusive…

Part of henryen/OriGent-SFT-Data.