diff options
author | Georg Kotheimer <georg.kotheimer@kernkonzept.com> | 2021-03-22 13:16:09 +0100 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2021-03-22 21:54:40 -0400 |
commit | 9a27f69bd668d9d71674407badc412ce1231c7d5 (patch) | |
tree | d13300fd0a3b47639ff102d12a27980653fd6948 /python/mypy.ini | |
parent | d4e28f0eb8d6f4de42bf7685eb5d3b70407d5e50 (diff) | |
download | qemu-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