Skip to content

Commit

Permalink
Add proper float*_is_nan prototypes.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2902 c046a42c-6fe2-441c-8c8c-71466251a162
  • Loading branch information
ths committed May 31, 2007
1 parent 471ea27 commit 924b2c0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion fpu/softfloat.h
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ int float32_le_quiet( float32, float32 STATUS_PARAM );
int float32_lt_quiet( float32, float32 STATUS_PARAM );
int float32_compare( float32, float32 STATUS_PARAM );
int float32_compare_quiet( float32, float32 STATUS_PARAM );
int float32_is_nan( float32 );
int float32_is_signaling_nan( float32 );
int float64_is_nan( float64 a );

INLINE float32 float32_abs(float32 a)
{
Expand Down Expand Up @@ -293,6 +293,7 @@ int float64_le_quiet( float64, float64 STATUS_PARAM );
int float64_lt_quiet( float64, float64 STATUS_PARAM );
int float64_compare( float64, float64 STATUS_PARAM );
int float64_compare_quiet( float64, float64 STATUS_PARAM );
int float64_is_nan( float64 a );
int float64_is_signaling_nan( float64 );

INLINE float64 float64_abs(float64 a)
Expand Down Expand Up @@ -336,6 +337,7 @@ int floatx80_lt( floatx80, floatx80 STATUS_PARAM );
int floatx80_eq_signaling( floatx80, floatx80 STATUS_PARAM );
int floatx80_le_quiet( floatx80, floatx80 STATUS_PARAM );
int floatx80_lt_quiet( floatx80, floatx80 STATUS_PARAM );
int floatx80_is_nan( floatx80 );
int floatx80_is_signaling_nan( floatx80 );

INLINE floatx80 floatx80_abs(floatx80 a)
Expand Down Expand Up @@ -383,6 +385,7 @@ int float128_lt( float128, float128 STATUS_PARAM );
int float128_eq_signaling( float128, float128 STATUS_PARAM );
int float128_le_quiet( float128, float128 STATUS_PARAM );
int float128_lt_quiet( float128, float128 STATUS_PARAM );
int float128_is_nan( float128 );
int float128_is_signaling_nan( float128 );

INLINE float128 float128_abs(float128 a)
Expand Down
1 change: 0 additions & 1 deletion target-mips/op_helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,6 @@ void do_cmpabs_s_ ## op (long cc) \

flag float32_is_unordered(int sig, float32 a, float32 b STATUS_PARAM)
{
extern flag float32_is_nan(float32 a);
if (float32_is_signaling_nan(a) ||
float32_is_signaling_nan(b) ||
(sig && (float32_is_nan(a) || float32_is_nan(b)))) {
Expand Down

0 comments on commit 924b2c0

Please sign in to comment.