On 5/3/23 10:36, Harsh Prateek Bora wrote:
The bits in cr reg are grouped into eight 4-bit fields represented
by env->crf[8] and the related calculations should be abstracted to
keep the calling routines simpler to read. This is a step towards
cleaning up the related/calling code for better readability.
Signed-off-by: Harsh Prateek Bora<hars...@linux.ibm.com>
Reviewed-by: Fabiano Rosas<faro...@suse.de>
---
hw/ppc/spapr_hcall.c | 18 ++----------------
linux-user/elfload.c | 4 +---
linux-user/ppc/signal.c | 9 ++-------
target/ppc/cpu.c | 17 +++++++++++++++++
target/ppc/cpu.h | 2 ++
target/ppc/gdbstub.c | 22 ++++------------------
target/ppc/kvm.c | 13 ++-----------
target/ppc/ppc-qmp-cmds.c | 6 +-----
8 files changed, 31 insertions(+), 60 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~