msr_fe0 and msr_fe1 macros hide 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: Added a combined macro for FE0 and FE1. Use it to simplify
conditionals. Removed Richard's R-b because of this change.
Signed-off-by: Víctor Colombo<[email protected]>
---
target/ppc/cpu.h | 11 +++++++++--
target/ppc/excp_helper.c | 18 ++++++------------
2 files changed, 15 insertions(+), 14 deletions(-)