summaryrefslogtreecommitdiff
path: root/roms
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2022-01-04 07:55:35 +0100
committerCédric Le Goater <clg@kaod.org>2022-01-04 07:55:35 +0100
commit0625c7760d5451d7436ef0738f763c6bb5141919 (patch)
tree239a4e8288cb91ee1ddabb02bd1dd5efbc6b8c04 /roms
parenteec4dfdadbc68d2103a02e449618b191eb9c0886 (diff)
target/ppc: do not call hreg_compute_hflags() in helper_store_mmcr0()
MMCR0 writes will change only MMCR0 bits which are used to calculate HFLAGS_PMCC0, HFLAGS_PMCC1 and HFLAGS_INSN_CNT hflags. No other machine register will be changed during this operation. This means that hreg_compute_hflags() is overkill for what we need to do. pmu_update_summaries() is already updating HFLAGS_INSN_CNT without calling hreg_compure_hflags(). Let's do the same for the other 2 MMCR0 hflags. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20220103224746.167831-5-danielhb413@gmail.com> Signed-off-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'roms')
0 files changed, 0 insertions, 0 deletions