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=1, generated host code for RV32M division and remainder instructions can use host integer-exception behavior instead of the RISC-V unprivileged ISA. For DIV and DIVU…
The task
When rv32emu is built with ENABLE_JIT=1, generated host code for RV32M division and remainder instructions can use host integer-exception behavior instead of the RISC-V unprivileged ISA. For DIV and DIVU with a zero divisor, the destination register is incorrectly set to 0 rather than 0xffffffff. For REM and REMU…
Part of henryen/OriGent-SFT-Data.