Skip to content

Commit

Permalink
softfloat: Remove unused argument from MINMAX macro.
Browse files Browse the repository at this point in the history
The nan_exp argument is not used, so remove it.

Signed-off-by: Will Newton <[email protected]>
Reviewed-by: Peter Maydell <[email protected]>
Message-id: [email protected]
Signed-off-by: Peter Maydell <[email protected]>
  • Loading branch information
Will Newton authored and pm215 committed Dec 10, 2013
1 parent 04731fb commit e70614e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fpu/softfloat.c
Original file line number Diff line number Diff line change
Expand Up @@ -6706,7 +6706,7 @@ int float128_compare_quiet( float128 a, float128 b STATUS_PARAM )
* 'compare and pick one input' because that would mishandle
* NaNs and +0 vs -0.
*/
#define MINMAX(s, nan_exp) \
#define MINMAX(s) \
INLINE float ## s float ## s ## _minmax(float ## s a, float ## s b, \
int ismin STATUS_PARAM ) \
{ \
Expand Down Expand Up @@ -6747,8 +6747,8 @@ float ## s float ## s ## _max(float ## s a, float ## s b STATUS_PARAM) \
return float ## s ## _minmax(a, b, 0 STATUS_VAR); \
}

MINMAX(32, 0xff)
MINMAX(64, 0x7ff)
MINMAX(32)
MINMAX(64)


/* Multiply A by 2 raised to the power N. */
Expand Down

0 comments on commit e70614e

Please sign in to comment.