Repair a verified behavior in riscv-collab/riscv-openocd.
Repair a verified behavior in riscv-collab/riscv-openocd.: a task in OriGent-SFT-Data (Harbor dataset). The RISC-V target register cache is not being used efficiently. In particular, a cacheable GPR update is marked dirty, but setting the same GPR to the value already staged in the cache still…
The task
The RISC-V target register cache is not being used efficiently. In particular, a cacheable GPR update is marked dirty, but setting the same GPR to the value already staged in the cache still causes the next riscv_flush_registers() call to write that unchanged value back to the target again.
Part of henryen/OriGent-SFT-Data.