fpu/softfloat: re-factor int/uint to float
commitc02e1fb80b553d47420f7492de4bc590c2461a86
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 30 Nov 2017 10:57:08 +0000 (30 10:57 +0000)
committerAlex Bennée <alex.bennee@linaro.org>
Wed, 21 Feb 2018 10:21:29 +0000 (21 10:21 +0000)
treeb1409a84f1b87b1f1c2e87e2735dbdc35f8a9cb8
parentab52f973a504f8de0c5df64631ba4caea70a7d9e
fpu/softfloat: re-factor int/uint to float

These are considerably simpler as the lower order integers can just
use the higher order conversion function. As the decomposed fractional
part is a full 64 bit rounding and inexact handling comes from the
pack functions.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
fpu/softfloat.c
include/fpu/softfloat.h