Skip to content

POWER9 TCG and softfloat enablements - part16 + s390 float fixes

Bharata B Rao qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7softfloat: Add round-to-odd rounding modefpu/softfloat.c include/fpu/softfloat.h+22 -10 replies
2/7softfloat: Add float128_to_uint64_round_to_zero()fpu/softfloat.c include/fpu/softfloat.h+61 -00 replies
3/7softfloat: Add float128_to_uint32_round_to_zero()fpu/softfloat.c include/fpu/softfloat.h+29 -00 replies
4/7target-ppc: Implement round to odd variants of quad FP instructionstarget/ppc/fpu_helper.c target/ppc/translate/vsx-ops.inc.c+21 -230 replies
5/7target-ppc: Add xscvqpudz and xscvqpuwz instructionstarget/ppc/fpu_helper.c target/ppc/helper.h target/ppc/translate/vsx-impl.inc.c +1 more+8 -00 replies
6/7softfloat: Add float128_to_uint32()fpu/softfloat.c include/fpu/softfloat.h+18 -00 replies
7/7target-s390: Use float128_to_uint[64/32] where requiredtarget/s390x/fpu_helper.c+2 -40 replies

Reviews trailers per patch

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

PatchPeter MaydellRichard Henderson
1/7R-b R-b
2/7R-b
3/7R-b
4/7
5/7
6/7
7/7

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/7] POWER9 TCG and softfloat enablements - part16 + s390 float fixes

This series contains 2 new instructions (xscvqpudz, xscvqpuwz) and round-to-odd variants of 6 instructions (xsaddqpo, xsmulqpo, xsdivqpo, xscvqpdpo, xssqrtqpo, xssubqpo)

This also includes softfloat enhancements that are needed by the above instructions. These softfloat patches have been posted separately earlier and reviewed. Including them here as the new instructions here depend on them.

I also saw that target-s390 also needs float128_to_uint64() and float128_to_uint32(). Implemented the latter in this series and made fixes in s390 code to use them. Note that s390 changes have been compile-tested only. The last two patches ideally needn't be part of this series, but included them here as s390 fixes depend on the softfloat changes that are part of this patchset.

Bharata B Rao (7):
softfloat: Add round-to-odd rounding mode
softfloat: Add float128_to_uint64_round_to_zero()
softfloat: Add float128_to_uint32_round_to_zero()
target-ppc: Implement round to odd variants of quad FP instructions
target-ppc: Add xscvqpudz and xscvqpuwz instructions
softfloat: Add float128_to_uint32()
target-s390: Use float128_to_uint[64/32] where required

 fpu/softfloat.c                     | 125 +++++++++++++++++++++++++++++++++++-
 include/fpu/softfloat.h             |   6 ++
 target/ppc/fpu_helper.c             |  44 ++++++-------
 target/ppc/helper.h                 |   2 +
 target/ppc/translate/vsx-impl.inc.c |   2 +
 target/ppc/translate/vsx-ops.inc.c  |   4 +-
 target/s390x/fpu_helper.c           |   6 +-
 7 files changed, 161 insertions(+), 28 deletions(-)
Signature · 1 line
2.7.4