summaryrefslogtreecommitdiffstats
path: root/include/fpu/softfloat.h
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-01-22 15:09:21 +0000
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:29:54 -0600
commit0b84413b1a6296f18e8ba0a6a5d95a88a4de627f (patch)
tree581f044cc7ffd5c4e74fb1c4c37817b53370130b /include/fpu/softfloat.h
parent5ed776f099270d5334164005bfbd0df61778ba20 (diff)
downloadhqemu-0b84413b1a6296f18e8ba0a6a5d95a88a4de627f.zip
hqemu-0b84413b1a6296f18e8ba0a6a5d95a88a4de627f.tar.gz
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/softfloat.h')
-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 bee849e..a6842ad 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
OpenPOWER on IntegriCloud