Skip to content

target-ppc: get rid of manual NaN handling in vector functions

Aurelien Jarno qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 2 repliesIn review

Changes in v2 from the cover letter

- Replace first patch by Max Filippov's version
- Fix vfnmsubfp

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5softfloat: make float_muladd_negate_* flags independentfpu/softfloat.h+1 -12 replies
2/5target-ppc: simplify NaN propagation for vector functionstarget-ppc/int_helper.c+7 -190 replies
3/5target-ppc: use the softfloat min/max functionstarget-ppc/int_helper.c+2 -210 replies
4/5target-ppc: use the softfloat float32_muladd functiontarget-ppc/int_helper.c+14 -430 replies
5/5target-ppc: get rid of the HANDLE_NAN{1, 2, 3} macrostarget-ppc/int_helper.c+0 -210 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchAurelien Jarno
1/5R-b
2/5
3/5
4/5
5/5

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

Read the v2 thread

Cover letter [Qemu-devel] [PATCH v2 0/5] target-ppc: get rid of manual NaN handling in vector functions

This is the second version of this series, trying to get rid of manual NaN propagation for PPC vector functions, aka altivec (note that the same work is still to be done on the FPU).

The first patch in this series provides from the "target-xtensa:
implement FP coprocessor option" series. I don't really care how it should be implemented, but it is a prerequisite for the rests of the patches, and hence included in this patch series.

Changes v1 -> v2:
- Replace first patch by Max Filippov's version
- Fix vfnmsubfp

Aurelien Jarno (4):
target-ppc: simplify NaN propagation for vector functions
target-ppc: use the softfloat min/max functions
target-ppc: use the softfloat float32_muladd function
target-ppc: get rid of the HANDLE_NAN{1,2,3} macros

Max Filippov (1):
softfloat: make float_muladd_negate_* flags independent

 fpu/softfloat.h         |    2 +-
 target-ppc/int_helper.c |  127 +++++++++--------------------------------------
 2 files changed, 24 insertions(+), 105 deletions(-)
Signature · 1 line
1.7.10.4