softfloat: Introduce float32_to_uint64_round_to_zero
authorTom Musta <tommusta@gmail.com>
Mon, 31 Mar 2014 21:03:55 +0000 (16:03 -0500)
committerAlexander Graf <agraf@suse.de>
Tue, 8 Apr 2014 09:20:00 +0000 (11:20 +0200)
commita13d44896854329581ba48607d66c6b2aec157f7
tree555b40a36f9607973793a332e694a16c833d10c9
parent3636226ae45a9b04af5202a18f445680c88473e7
softfloat: Introduce float32_to_uint64_round_to_zero

This change adds the float32_to_uint64_round_to_zero function to the softfloat
library.  This function fills out the complement of float32 to INT round-to-zero
conversion rountines, where INT is {int32_t, uint32_t, int64_t, uint64_t}.

This contribution can be licensed under either the softfloat-2a or -2b
license.

Signed-off-by: Tom Musta <tommusta@gmail.com>
Tested-by: Tom Musta <tommusta@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
fpu/softfloat.c
include/fpu/softfloat.h