summaryrefslogtreecommitdiff
path: root/python/mypy.ini
diff options
context:
space:
mode:
authorGeorg Kotheimer <georg.kotheimer@kernkonzept.com>2021-03-22 13:16:09 +0100
committerAlistair Francis <alistair.francis@wdc.com>2021-03-22 21:54:40 -0400
commit9a27f69bd668d9d71674407badc412ce1231c7d5 (patch)
treed13300fd0a3b47639ff102d12a27980653fd6948 /python/mypy.ini
parentd4e28f0eb8d6f4de42bf7685eb5d3b70407d5e50 (diff)
downloadqemu-9a27f69bd668d9d71674407badc412ce1231c7d5.zip
target/riscv: Prevent lost illegal instruction exceptions
When decode_insn16() fails, we fall back to decode_RV32_64C() for further compressed instruction decoding. However, prior to this change, we did not raise an illegal instruction exception, if decode_RV32_64C() fails to decode the instruction. This means that we skipped illegal compressed instructions instead of raising an illegal instruction exception. Instead of patching decode_RV32_64C(), we can just remove it, as it is dead code since f330433b363 anyway. Signed-off-by: Georg Kotheimer <georg.kotheimer@kernkonzept.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20210322121609.3097928-1-georg.kotheimer@kernkonzept.com Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'python/mypy.ini')
0 files changed, 0 insertions, 0 deletions