The first commit is because some FP_ macros needed to calculate FP_EX_CLEAR_BITS did not exist, and I reordered all the FP_ macros so that they are defined in the same order as the FPSCR_ macros. This has not changed since the previous version.
The second commit stops bits in the FPSCR being cleared when read from with mcrfs which shouldn't be, which includes the rounding mode being cleared by the act of reading the current rounding mode. This has changed since the last version to address compiler warnings; I don't actually know how it worked given the warnings issued, but apologies for submitting such a broken patch. James Clarke (2): target-ppc: Make every FPSCR_ macro have a corresponding FP_ macro target-ppc: mcrfs should always update FEX/VX and only clear exception bits target-ppc/cpu.h | 37 ++++++++++++++++++++++++++++--------- target-ppc/translate.c | 21 +++++++++++++++++---- 2 files changed, 45 insertions(+), 13 deletions(-) -- 2.7.0