qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [PATCH v2 0/2] PPC handles mcrfs incorrectly


From: James Clarke
Subject: [Qemu-ppc] [PATCH v2 0/2] PPC handles mcrfs incorrectly
Date: Fri, 29 Jan 2016 18:40:19 +0000

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]