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). The RV32 emulator's macro-op fusion mishandles adjacent dependent AUIPC and ADDI instructions. When an auipc rd, imm is immediately followed by addi rd2, rd, imm2 , the emulator produces the combined…

The task

The RV32 emulator's macro-op fusion mishandles adjacent dependent AUIPC and ADDI instructions. When an `auipc rd, imm` is immediately followed by `addi rd2, rd, imm2`, the emulator produces the combined value in `rd2` but fails to write the standalone AUIPC result to `rd`; consequently, `rd` can remain zero even…

Part of henryen/OriGent-SFT-Data.