]> git.proxmox.com Git - mirror_qemu.git/commit
fpu: Use plain 'int' rather than 'int_fast16_t' for exponents
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2016 16:25:01 +0000 (16:25 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 19 Feb 2016 16:27:22 +0000 (16:27 +0000)
commit0c48262d4772d40677364199372fb6ffcf487558
treea6b625f7757904a9c81531da32c4e9936fb1052e
parent07d792d2b08669bf6a97cbf590496078c4621068
fpu: Use plain 'int' rather than 'int_fast16_t' for exponents

Use the plain 'int' type rather than 'int_fast16_t' for handling
exponents. Exponents don't need to be exactly 16 bits, so using int16_t
for them would confuse more than it clarified.

This should be a safe change because int_fast16_t semantics
permit use of 'int' (and on 32-bit glibc that is what you get).

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