Skip to content

target-ppc: improve FPU emulation

Aurelien Jarno qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3target-ppc: remove PRECISE_EMULATION definetarget-ppc/exec.h target-ppc/op_helper.c+11 -501 reply
2/3target-ppc: fix default qNaNtarget-ppc/op_helper.c+2 -22 replies
3/3target-ppc: fix sNaN propagationtarget-ppc/op_helper.c+77 -684 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchAlexander Graf
1/3A-b
2/3A-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] target-ppc: improve FPU emulation

The PowerPC CPU has a lot more precise FPU exception than the IEEE754 specifications. 7 independant exceptions corresponding to the invalid exception IEEE754. They are currently not implemented in softfloat code, though they are detected to compute the result, that's why the target-ppc code checks for the operands before calling the softfloat code.

This patch series fixes some issues with the FPU emulation, though the long term solution is to implement the various flags in the softfloat code, and rely to compute the result.

Aurelien Jarno (3):
target-ppc: remove PRECISE_EMULATION define
target-ppc: fix default qNaN
target-ppc: fix sNaN propagation

 target-ppc/exec.h      |    3 -
 target-ppc/op_helper.c |  203 +++++++++++++++++++++---------------------------
 2 files changed, 88 insertions(+), 118 deletions(-)
Signature · 1 line
1.7.2.3