]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: Add new PMC HFLAGS
authorLeandro Lupori <leandro.lupori@eldorado.org.br>
Tue, 25 Oct 2022 20:24:23 +0000 (17:24 -0300)
committerDaniel Henrique Barboza <danielhb413@gmail.com>
Fri, 28 Oct 2022 16:15:23 +0000 (13:15 -0300)
commit8b3d1c49a9f0f315d2b292c1791430c0f382afa4
tree8ca6f760753bd284b8024b28f7f9750da99322a8
parent286787f105c3216028841fd86c4e563af6b1b9e0
target/ppc: Add new PMC HFLAGS

Add 2 new PMC related HFLAGS:
- HFLAGS_PMCJCE - value of MMCR0 PMCjCE bit
- HFLAGS_PMC_OTHER - set if a PMC other than PMC5-6 is enabled

These flags allow further optimization of PMC5 update code, by
allowing frequently tested conditions to be performed at
translation time.

Signed-off-by: Leandro Lupori <leandro.lupori@eldorado.org.br>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20221025202424.195984-3-leandro.lupori@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
target/ppc/cpu.h
target/ppc/helper_regs.c
target/ppc/translate.c