qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC PATCH v1 0/2] softfloat: float128 to uint64 and uint32
@ 2017-02-07  8:04 Bharata B Rao
  2017-02-07  8:04 ` [Qemu-devel] [RFC PATCH v1 1/2] softfloat: Add float128_to_uint64_round_to_zero() Bharata B Rao
  2017-02-07  8:04 ` [Qemu-devel] [RFC PATCH v1 2/2] softfloat: Add float128_to_uint32_round_to_zero() Bharata B Rao
  0 siblings, 2 replies; 7+ messages in thread
From: Bharata B Rao @ 2017-02-07  8:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-ppc, david, rth, nikunj, peter.maydell, Bharata B Rao

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-02-08  0:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-07  8:04 [Qemu-devel] [RFC PATCH v1 0/2] softfloat: float128 to uint64 and uint32 Bharata B Rao
2017-02-07  8:04 ` [Qemu-devel] [RFC PATCH v1 1/2] softfloat: Add float128_to_uint64_round_to_zero() Bharata B Rao
2017-02-07 16:05   ` Peter Maydell
2017-02-07  8:04 ` [Qemu-devel] [RFC PATCH v1 2/2] softfloat: Add float128_to_uint32_round_to_zero() Bharata B Rao
2017-02-07 15:57   ` Peter Maydell
2017-02-07 22:10   ` Richard Henderson
2017-02-08  0:44     ` Bharata B Rao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).