commit | 052af14ef26631b5d7a5549797abeacb42b4db8d | [log] [tgz] |
---|---|---|
author | Harsh Prateek Bora <harshpb@linux.ibm.com> | Thu Oct 10 11:17:33 2024 +0530 |
committer | Nicholas Piggin <npiggin@gmail.com> | Mon Nov 04 09:12:55 2024 +1000 |
tree | 1497b02b9280844b56ca12f3458c489e078f6ae1 | |
parent | 2bbddc08bc1d7046b58880454e3278530f825885 [diff] |
target/ppc: optimize hreg_compute_pmu_hflags_value Cache env->spr[SPR_POWER_MMCR0] in a local variable as used in multiple conditions to avoid multiple indirect accesses. Reviewed-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Signed-off-by: Nicholas Piggin <npiggin@gmail.com>