qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v5 07/10] softfloat: Drop [u]int32 types in favo


From: Andreas Färber
Subject: Re: [Qemu-devel] [PATCH v5 07/10] softfloat: Drop [u]int32 types in favor of [u]int_fast32_t
Date: Tue, 8 Mar 2011 00:16:49 +0100

Am 07.03.2011 um 10:56 schrieb Aurelien Jarno:

On Mon, Mar 07, 2011 at 01:34:10AM +0100, Andreas Färber wrote:
v5:
* Initial.

Cc: Peter Maydell <address@hidden>
Signed-off-by: Andreas Färber <address@hidden>
---
fpu/softfloat.c | 132 ++++++++++++++++++++++++++ +---------------------------
fpu/softfloat.h |   34 +++++++--------
2 files changed, 82 insertions(+), 84 deletions(-)

diff --git a/fpu/softfloat.h b/fpu/softfloat.h
index c599cc2..4c64d77 100644
--- a/fpu/softfloat.h
+++ b/fpu/softfloat.h

@@ -394,10 +392,10 @@ INLINE float32 float32_set_sign(float32 a, int sign)
*----------------------------------------------------------------------------*/
int_fast16_t float64_to_int16_round_to_zero( float64 STATUS_PARAM );
uint_fast16_t float64_to_uint16_round_to_zero( float64 STATUS_PARAM );
-int32 float64_to_int32( float64 STATUS_PARAM );
-int32 float64_to_int32_round_to_zero( float64 STATUS_PARAM );
-uint32 float64_to_uint32( float64 STATUS_PARAM );
-uint32 float64_to_uint32_round_to_zero( float64 STATUS_PARAM );
+int_fast32_t float64_to_int32( float64 STATUS_PARAM );
+int_fast32_t float64_to_int32_round_to_zero( float64 STATUS_PARAM );
+uint_fast32_t float64_to_uint32( float64 STATUS_PARAM );
+uint_fast32_t float64_to_uint32_round_to_zero( float64 STATUS_PARAM );

If you do such a change in the declaration, you should do the same in
the code, otherwise it doesn't compile...

Hrm, are you saying this is missing in 08/10, or would you like to see that squashed into this one?
It did compile at some point, at least before I reordered patches.

Andreas


reply via email to

[Prev in Thread] Current Thread [Next in Thread]