qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] PPC handles mcrfs incorrectly
@ 2016-01-29 18:40 James Clarke
  2016-01-29 18:40 ` [Qemu-devel] [PATCH v2 1/2] target-ppc: Make every FPSCR_ macro have a corresponding FP_ macro James Clarke
  2016-01-29 18:40 ` [Qemu-devel] [PATCH v2 2/2] target-ppc: mcrfs should always update FEX/VX and only clear exception bits James Clarke
  0 siblings, 2 replies; 5+ messages in thread
From: James Clarke @ 2016-01-29 18:40 UTC (permalink / raw)
  To: qemu-devel; +Cc: James Clarke, qemu-ppc, david

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-01  0:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-29 18:40 [Qemu-devel] [PATCH v2 0/2] PPC handles mcrfs incorrectly James Clarke
2016-01-29 18:40 ` [Qemu-devel] [PATCH v2 1/2] target-ppc: Make every FPSCR_ macro have a corresponding FP_ macro James Clarke
2016-01-29 18:40 ` [Qemu-devel] [PATCH v2 2/2] target-ppc: mcrfs should always update FEX/VX and only clear exception bits James Clarke
2016-01-31 23:50   ` David Gibson
2016-02-01  0:04     ` James Clarke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).