Address the following remark from Richard:
(1) check_cp0_enabled must return a boolean, so that the
caller can avoid emitting dead code after the
exception is emitted.
https://www.mail-archive.com/qemu-devel@nongnu.org/msg800114.html
Based-on: <20210420175426.1875746-1-f4bug@amsat.org>
Philippe Mathieu-Daudé (5):
target/mips: Remove duplicated check_cp0_enabled() calls in gen_cp0()
target/mips: Simplify CP0 check in nanoMIPS P.LS.E0 EVA pool
target/mips: Make check_cp0_enabled() return a boolean
target/mips: Use check_cp0_enabled() returned value
target/mips: Restrict EVA opcodes to system emulation
target/mips/translate.h | 7 +-
target/mips/translate.c | 178 ++++++++++++++++++++--------------------
2 files changed, 96 insertions(+), 89 deletions(-)
--
2.26.3