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.henderson@linaro.org>
Signed-off-by: Víctor Colombo<victor.colombo@eldorado.org.br>
---
v3: Fix the difference check to use a xor
Signed-off-by: Víctor Colombo<victor.colombo@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(-)