mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
softfloat: Implement uint64_to_float128
Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
17ed229379
commit
1e397eadf1
2 changed files with 11 additions and 0 deletions
|
@ -237,6 +237,7 @@ float64 int64_to_float64( int64 STATUS_PARAM );
|
|||
float64 uint64_to_float64( uint64 STATUS_PARAM );
|
||||
floatx80 int64_to_floatx80( int64 STATUS_PARAM );
|
||||
float128 int64_to_float128( int64 STATUS_PARAM );
|
||||
float128 uint64_to_float128( uint64 STATUS_PARAM );
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
| Software half-precision conversion routines.
|
||||
|
@ -630,6 +631,8 @@ INLINE int float128_is_any_nan(float128 a)
|
|||
((a.low != 0) || ((a.high & 0xffffffffffffLL) != 0));
|
||||
}
|
||||
|
||||
#define float128_zero make_float128(0, 0)
|
||||
|
||||
/*----------------------------------------------------------------------------
|
||||
| The pattern for a default generated quadruple-precision NaN.
|
||||
*----------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue