Skip to content

RFC softfloat: float128 to uint64 and uint32

Bharata B Rao qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 4 repliesIn review

Changes in v1 from the cover letter

--------------
- Reimplemented float128_to_uint64() based on float64_to_uint64().
- Added float128_to_uint32_round_to_zero().

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2softfloat: Add float128_to_uint64_round_to_zero()fpu/softfloat.c include/fpu/softfloat.h+61 -01 reply
2/2softfloat: Add float128_to_uint32_round_to_zero()fpu/softfloat.c include/fpu/softfloat.h+29 -03 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchPeter Maydell
1/2R-b
2/2R-b R-b

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] [RFC PATCH v1 0/2] softfloat: float128 to uint64 and uint32

This series introduces two conversion routines:
float128_to_uint64_round_to_zero() and float128_to_uint32_round_to_zero().

float128_to_uint64_round_to_zero() uses the newly added float128_to_uint64() whose implementation is based on float64_to_uint64().

float128_to_uint32_round_to_zero() uses float128_to_uint64_round_to_zero().

Changes in v1:
--------------
- Reimplemented float128_to_uint64() based on float64_to_uint64().
- Added float128_to_uint32_round_to_zero().

v0: https://www.mail-archive.com/[email protected]/msg426756.html

Bharata B Rao (2):
softfloat: Add float128_to_uint64_round_to_zero()
softfloat: Add float128_to_uint32_round_to_zero()

 fpu/softfloat.c         | 87 +++++++++++++++++++++++++++++++++++++++++++++++++
 include/fpu/softfloat.h |  3 ++
 2 files changed, 90 insertions(+)
Signature · 1 line
2.7.4