On 5/3/22 13:24, Víctor Colombo wrote:
msr_dr macro hides the usage of env->msr, which is a bad behavior
Substitute it with FIELD_EX64 calls that explicitly use env->msr
as a parameter.

Suggested-by: Richard Henderson<richard.hender...@linaro.org>
Signed-off-by: Víctor Colombo<victor.colo...@eldorado.org.br>

---

v3: Fix the difference check to use a xor
Signed-off-by: Víctor Colombo<victor.colo...@eldorado.org.br>
---
  target/ppc/cpu.h         |  2 +-
  target/ppc/helper_regs.c |  3 +--
  target/ppc/mmu_common.c  | 10 ++++++----
  3 files changed, 8 insertions(+), 7 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to