On 5/3/22 13:24, Víctor Colombo wrote:
msr_ep 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
     fix incorrect "FIELD_EX64(env->msr, ..." -> "FIELD_EX64(value, ..."
Signed-off-by: Víctor Colombo<victor.colo...@eldorado.org.br>
---
  target/ppc/cpu.h         | 2 +-
  target/ppc/helper_regs.c | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

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

r~

Reply via email to