aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2017-11-30 11:31:40 +0000
committerAlex Bennée <alex.bennee@linaro.org>2018-02-21 10:21:34 +0000
commit0bfc9f195209593e91a98cf2233753f56a2e5c02 (patch)
treebf7b90c4b58ed3a3f8e4fcf6d776b8ac85e6846a /include
parentc02e1fb80b553d47420f7492de4bc590c2461a86 (diff)
downloadqemu-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.h1
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);