]> git.proxmox.com Git - mirror_qemu.git/commit
fpu/softfloat: Partial support for ARM Alternative half-precision
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 2 May 2018 14:58:31 +0000 (15:58 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 17 May 2018 22:27:15 +0000 (15:27 -0700)
commitca3a3d5a3141d44aa717dc11e4d33a834a85e1f6
tree65072b8909749f2dfccdb6b0ec7c57fcba4e5e0c
parent0acb9e7cb341cd767e39ec0875c8706eb2f1c359
fpu/softfloat: Partial support for ARM Alternative half-precision

For float16 ARM supports an alternative half-precision format which
sacrifices the ability to represent NaN/Inf in return for a higher
dynamic range.  The new FloatFmt flag, arm_althp, is then used to
modify the behaviour of canonicalize and round_canonical with respect
to representation and exception raising.

Usage of this new flag waits until we re-factor float-to-float conversions.

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