This a set of misc ppc arch specific code improvements/optimizations. Although there exists similar instances for potential improvements in the legacy ppc code, however, that can be taken up later as well.
Harsh Prateek Bora (6): target/ppc: use locally stored msr and avoid indirect access target/ppc: optimize hreg_compute_pmu_hflags_value target/ppc: optimize hreg_compute_pmu_hflags_value target/ppc: optimize p9 exception handling routines target/ppc: reduce duplicate code between init_proc_POWER{9,10} target/ppc: redue code duplication across Power9/10 init code target/ppc/cpu_init.h | 79 +++++++++++++++++++ target/ppc/cpu_init.c | 166 ++++++--------------------------------- target/ppc/excp_helper.c | 39 ++++----- target/ppc/helper_regs.c | 19 ++--- 4 files changed, 134 insertions(+), 169 deletions(-) create mode 100644 target/ppc/cpu_init.h -- 2.39.3