[Qemu-devel] [RFC PATCH v1 0/2] softfloat: float128 to uint64 and uint32

Bharata B Rao posted 2 patches 7 years, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1486454676-29112-1-git-send-email-bharata@linux.vnet.ibm.com
Test checkpatch passed
Test docker passed
Test s390x passed
fpu/softfloat.c         | 87 +++++++++++++++++++++++++++++++++++++++++++++++++
include/fpu/softfloat.h |  3 ++
2 files changed, 90 insertions(+)
[Qemu-devel] [RFC PATCH v1 0/2] softfloat: float128 to uint64 and uint32
Posted by Bharata B Rao 7 years, 1 month ago
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/qemu-devel@nongnu.org/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(+)

-- 
2.7.4