summaryrefslogtreecommitdiffstats
path: root/include/fpu
diff options
context:
space:
mode:
authorPeter Maydell2016-01-22 16:09:21 +0100
committerPeter Maydell2016-01-22 16:09:21 +0100
commit8f506c709adb7d3bed4ebefefe9487c156192a64 (patch)
tree45f2901c04b85d01e312d19528ada6af7d502384 /include/fpu
parentfpu: Replace uint32 typedef with uint32_t (diff)
downloadqemu-8f506c709adb7d3bed4ebefefe9487c156192a64.tar.gz
qemu-8f506c709adb7d3bed4ebefefe9487c156192a64.tar.xz
qemu-8f506c709adb7d3bed4ebefefe9487c156192a64.zip
fpu: Replace int8 typedef with int8_t
Replace the int8 softfloat-specific typedef with int8_t. This change was made with find include hw fpu target-* -name '*.[ch]' | xargs sed -i -e 's/\bint8\b/int8_t/g' together with manual removal of the typedef definition, and manual undoing of various mis-hits. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Acked-by: Leon Alrae <leon.alrae@imgtec.com> Acked-by: James Hogan <james.hogan@imgtec.com> Message-id: 1452603315-27030-6-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'include/fpu')
-rw-r--r--include/fpu/softfloat.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/fpu/softfloat.h b/include/fpu/softfloat.h
index bee849e0a7..a6842ad21d 100644
--- a/include/fpu/softfloat.h
+++ b/include/fpu/softfloat.h
@@ -100,7 +100,6 @@ this code that are retained.
*----------------------------------------------------------------------------*/
typedef uint8_t flag;
typedef uint8_t uint8;
-typedef int8_t int8;
#define LIT64( a ) a##LL
@@ -278,7 +277,7 @@ static inline flag get_default_nan_mode(float_status *status)
| Routine to raise any or all of the software IEC/IEEE floating-point
| exception flags.
*----------------------------------------------------------------------------*/
-void float_raise(int8 flags, float_status *status);
+void float_raise(int8_t flags, float_status *status);
/*----------------------------------------------------------------------------
| If `a' is denormal and we are in flush-to-zero mode then set the