]> xenbits.xensource.com Git - qemu-xen.git/commit
softfloat: Add 16 bit integer to float conversions
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 17:17:49 +0000 (17:17 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jan 2014 19:07:22 +0000 (19:07 +0000)
commit8afbdabac2a1bdc137691c46965ef8c490cb5e44
tree331a08d69410e98e01f95fc96083469875a4d51e
parentf581bf5474d2319ca37484eb63208017ac96ce0a
softfloat: Add 16 bit integer to float conversions

Add the float to 16 bit integer conversion routines. These can be
trivially implemented in terms of the int32_to_float* routines, but
providing them makes our API more symmetrical and can simplify callers.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
include/fpu/softfloat.h