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<[email protected]>
Signed-off-by: Víctor Colombo<[email protected]>

---

v3: Fix the difference check to use a xor
     fix incorrect "FIELD_EX64(env->msr, ..." -> "FIELD_EX64(value, ..."
Signed-off-by: Víctor Colombo<[email protected]>
---
  target/ppc/cpu.h         | 2 +-
  target/ppc/helper_regs.c | 4 ++--
  2 files changed, 3 insertions(+), 3 deletions(-)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to