]> git.proxmox.com Git - mirror_qemu.git/commit
fpu: Use plain 'int' rather than 'int_fast16_t' for shift counts
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:22 +0000 (16:27 +0000)
commit07d792d2b08669bf6a97cbf590496078c4621068
tree6382d7b3fa0a2b6ceab8baa79986c792dfee7785
parent0bb721d7217ed4a1abb44f521c5c7ec185062d58
fpu: Use plain 'int' rather than 'int_fast16_t' for shift counts

Use the plain 'int' type rather than 'int_fast16_t' for shift counts
in the various shift related functions, since we don't actually care
about the size of the integer at all here, and using int16_t would
be confusing.

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-3-git-send-email-peter.maydell@linaro.org
fpu/softfloat-macros.h
fpu/softfloat.c