diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2017-11-30 11:31:40 +0000 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2018-02-21 10:21:34 +0000 |
commit | 0bfc9f195209593e91a98cf2233753f56a2e5c02 (patch) | |
tree | bf7b90c4b58ed3a3f8e4fcf6d776b8ac85e6846a /include | |
parent | c02e1fb80b553d47420f7492de4bc590c2461a86 (diff) | |
download | qemu-0bfc9f195209593e91a98cf2233753f56a2e5c02.zip qemu-0bfc9f195209593e91a98cf2233753f56a2e5c02.tar.gz qemu-0bfc9f195209593e91a98cf2233753f56a2e5c02.tar.bz2 |
fpu/softfloat: re-factor scalbn
This is one of the simpler manipulations you could make to a floating
point number.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include')
-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 3e6fdd7..52621e0 100644 --- a/include/fpu/softfloat.h +++ b/include/fpu/softfloat.h @@ -244,6 +244,7 @@ float16 float16_sub(float16, float16, float_status *status); float16 float16_mul(float16, float16, float_status *status); float16 float16_muladd(float16, float16, float16, int, float_status *status); float16 float16_div(float16, float16, float_status *status); +float16 float16_scalbn(float16, int, float_status *status); int float16_is_quiet_nan(float16, float_status *status); int float16_is_signaling_nan(float16, float_status *status); |