Skip to content

target/mips: Make check_cp0_enabled() return a boolean

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5target/mips: Remove duplicated check_cp0_enabled() calls in gen_cp0()target/mips/translate.c+0 -22 replies
2/5target/mips: Simplify CP0 check in nanoMIPS P.LS.E0 EVA pooltarget/mips/translate.c+1 -151 reply
3/5target/mips: Make check_cp0_enabled() return a booleantarget/mips/translate.c target/mips/translate.h+9 -21 reply
4/5target/mips: Use check_cp0_enabled() returned valuetarget/mips/translate.c+76 -681 reply
5/5target/mips: Restrict EVA opcodes to system emulationtarget/mips/translate.c+11 -31 reply

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchRichard Henderson
1/5R-b
2/5
3/5R-b
4/5
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/5] target/mips: Make check_cp0_enabled() return a boolean

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/[email protected]/msg800114.html

Based-on: <[email protected]>

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(-)
Signature · 1 line
2.26.3