On Tue, Apr 19, 2011 at 01:42:00PM +0100, Peter Maydell wrote:
> On 18 April 2011 22:00, Aurelien Jarno wrote:
>
> > @@ -511,4 +530,11 @@ int floatx80_is_quiet_nan( floatx80 a1 )
> > return ( ( u.i.high & 0x7FFF ) == 0x7FFF ) && (uint64_t) ( u.i.low<<1 );
> > }
> >
> > +int floatx80_is_any_n
On 18 April 2011 22:00, Aurelien Jarno wrote:
> @@ -511,4 +530,11 @@ int floatx80_is_quiet_nan( floatx80 a1 )
> return ( ( u.i.high & 0x7FFF ) == 0x7FFF ) && (uint64_t) ( u.i.low<<1 );
> }
>
> +int floatx80_is_any_nan( floatx80 a1 )
> +{
> + floatx80u u;
> + u.f = a1;
> + return ((u
Add float*_is_any_nan() functions to match the softfloat API.
Signed-off-by: Aurelien Jarno
---
fpu/softfloat-native.c | 26 ++
fpu/softfloat-native.h |3 +++
2 files changed, 29 insertions(+), 0 deletions(-)
diff --git a/fpu/softfloat-native.c b/fpu/softfloat-nati