]> git.proxmox.com Git - mirror_qemu.git/commit
fpu: Remove use of int_fast16_t in conversions to int16
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2016 16:25:00 +0000 (16:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2016 16:27:21 +0000 (16:27 +0000)
commit0bb721d7217ed4a1abb44f521c5c7ec185062d58
treea3fbaf053ca50a2be44bd7e484296864e08ac244
parentd783f78933b212537ece77c7ec66866cc2bc0f4d
fpu: Remove use of int_fast16_t in conversions to int16

Make the functions which convert floating point to 16 bit integer
return int16_t rather than int_fast16_t, and correspondingly use
int_fast16_t in their internal implementations where appropriate.

(These functions are used only by the ARM target.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>
Message-id: 1453807806-32698-2-git-send-email-peter.maydell@linaro.org
fpu/softfloat.c
include/fpu/softfloat.h