Codegen: stricter failures for HWI/HWQ
branlwyd opened this issue · comments
Currently, if the hardware index read by HWI
/HWQ
is out of bounds, these instructions will act as no-ops. Preferably, these instructions should fault the CPU as illegal instructions to ease debugging. This is possible now that the CPU is notified of illegal instructions through illegalInstructionExecuted()
.
Done in a5fc4c9. Closing.