]> git.ipfire.org Git - thirdparty/qemu.git/commit
softfloat: Add float to 16bit integer conversions.
authorWill Newton <will.newton@linaro.org>
Tue, 7 Jan 2014 17:17:48 +0000 (17:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 19:18:07 +0000 (19:18 +0000)
commite0a2db7128626a795c3657ffcaff40514e998e2f
tree4b872174415ee732ad20bf26bb08ab139a23925c
parent1bf6beec8a012cae4bb6fbc89c465127e9650c92
softfloat: Add float to 16bit integer conversions.

ARMv8 requires support for converting 32 and 64bit floating point
values to signed and unsigned 16bit integers.

Signed-off-by: Will Newton <will.newton@linaro.org>
[PMM: updated not to incorrectly set Inexact for Invalid inputs]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
fpu/softfloat.c
include/fpu/softfloat.h