[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/5] target/mips: Make check_cp0_enabled() return a boolean
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 0/5] target/mips: Make check_cp0_enabled() return a boolean |
Date: |
Tue, 20 Apr 2021 21:34:48 +0200 |
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
- [PATCH 0/5] target/mips: Make check_cp0_enabled() return a boolean,
Philippe Mathieu-Daudé <=
- [PATCH 1/5] target/mips: Remove duplicated check_cp0_enabled() calls in gen_cp0(), Philippe Mathieu-Daudé, 2021/04/20
- [PATCH 2/5] target/mips: Simplify CP0 check in nanoMIPS P.LS.E0 EVA pool, Philippe Mathieu-Daudé, 2021/04/20
- [PATCH 3/5] target/mips: Make check_cp0_enabled() return a boolean, Philippe Mathieu-Daudé, 2021/04/20
- [PATCH 4/5] target/mips: Use check_cp0_enabled() returned value, Philippe Mathieu-Daudé, 2021/04/20
- [RFC PATCH 5/5] target/mips: Restrict EVA opcodes to system emulation, Philippe Mathieu-Daudé, 2021/04/20