diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2017-07-03 14:30:06 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2018-02-21 10:20:14 +0000 |
commit | 210cbd4910ae9e41e0a1785b96890ea2c291b381 (patch) | |
tree | 91c1773b4d572283cd3e3e1a20db7db7b892b9c9 /include/fpu | |
parent | a6e0344fa0e09413324835ae122c4cadd7890231 (diff) | |
download | qemu-210cbd4910ae9e41e0a1785b96890ea2c291b381.zip qemu-210cbd4910ae9e41e0a1785b96890ea2c291b381.tar.gz qemu-210cbd4910ae9e41e0a1785b96890ea2c291b381.tar.bz2 |
fpu/softfloat: implement float16_squash_input_denormal
This will be required when expanding the MINMAX() macro for 16
bit/half-precision operations.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/fpu')
-rw-r--r-- | include/fpu/softfloat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h index 0f96a0e..d5e9966 100644 --- a/include/fpu/softfloat.h +++ b/include/fpu/softfloat.h @@ -277,6 +277,7 @@ void float_raise(uint8_t flags, float_status *status); | If `a' is denormal and we are in flush-to-zero mode then set the | input-denormal exception and return zero. Otherwise just return the value. *----------------------------------------------------------------------------*/ +float16 float16_squash_input_denormal(float16 a, float_status *status); float32 float32_squash_input_denormal(float32 a, float_status *status); float64 float64_squash_input_denormal(float64 a, float_status *status); |