/netbsd-src/sys/lib/libkern/ |
H A D | softfloat-macros.h | 62 INLINE void shift64RightJamming( bits64 a, int16 count, bits64 *zPtr ) in shift64RightJamming() 64 bits64 z; in shift64RightJamming() 98 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) in shift64ExtraRightJamming() 100 bits64 z0, z1; in shift64ExtraRightJamming() 135 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) in shift128Right() 137 bits64 z0, z1; in shift128Right() 170 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) in shift128RightJamming() 172 bits64 z0, z1; in shift128RightJamming() 221 bits64 a0, in shift128ExtraRightJamming() 222 bits64 a1, in shift128ExtraRightJamming() [all …]
|
H A D | softfloat.c | 105 static int32 roundAndPackInt32( flag zSign, bits64 absZ ) in roundAndPackInt32() 155 static int64 roundAndPackInt64( flag zSign, bits64 absZ0, bits64 absZ1 ) in roundAndPackInt64() 180 absZ0 &= ~ ( ( (bits64) ( absZ1<<1 ) == 0 ) & roundNearestEven ); in roundAndPackInt64() 197 static uint64 roundAndPackUInt64( bits64 absZ0, bits64 absZ1 ) in roundAndPackUInt64() 220 absZ0 &= ~ ( ( (bits64) ( absZ1<<1 ) == 0 ) & roundNearestEven ); in roundAndPackUInt64() 395 INLINE bits64 extractFloat64Frac( float64 a ) in extractFloat64Frac() 431 normalizeFloat64Subnormal( bits64 aSig, int16 *zExpPtr, bits64 *zSigPtr ) in normalizeFloat64Subnormal() 452 INLINE float64 packFloat64( flag zSign, int16 zExp, bits64 zSig ) in packFloat64() 455 return ( ( (bits64) zSign )<<63 ) + ( ( (bits64) zExp )<<52 ) + zSig; in packFloat64() 481 static float64 roundAndPackFloat64( flag zSign, int16 zExp, bits64 zSig ) in roundAndPackFloat64() [all …]
|
H A D | softfloat-specialize.h | 70 bits64 high, low; 115 z.high = ( (bits64) a )<<41; in float32ToCommonNaN() 198 ( ( (bits64) a.sign )<<63 ) in commonNaNToFloat64() 228 if ( (bits64) ( a<<1 ) < (bits64) ( b<<1 ) ) return b; in propagateFloat64NaN() 229 if ( (bits64) ( b<<1 ) < (bits64) ( a<<1 ) ) return a; in propagateFloat64NaN() 256 return ( ( a.high & 0x7FFF ) == 0x7FFF ) && (bits64) ( a.low<<1 ); in floatx80_is_nan() 267 bits64 aLow; in floatx80_is_signaling_nan() 272 && (bits64) ( aLow<<1 ) in floatx80_is_signaling_nan() 364 ( LIT64( 0xFFFE000000000000 ) <= (bits64) ( a.high<<1 ) ) in float128_is_nan() 410 z.high |= ( ( (bits64) a.sign )<<63 ) | LIT64( 0x7FFF800000000000 ); in commonNaNToFloat128()
|
H A D | milieu.h | 117 typedef uint64_t bits64; typedef
|
/netbsd-src/lib/libc/softfloat/bits64/ |
H A D | softfloat-macros | 70 INLINE void shift64RightJamming( bits64 a, int16 count, bits64 *zPtr ) 72 bits64 z; 107 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) 109 bits64 z0, z1; 145 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) 147 bits64 z0, z1; 181 bits64 a0, bits64 a1, int16 count, bits64 *z0Ptr, bits64 *z1Ptr ) 183 bits64 z0, z1; 233 bits64 a0, 234 bits64 a1, [all …]
|
H A D | softfloat.c | 122 static int32 roundAndPackInt32( flag zSign, bits64 absZ ) in roundAndPackInt32() 173 static int64 roundAndPackInt64( flag zSign, bits64 absZ0, bits64 absZ1 ) in roundAndPackInt64() 198 absZ0 &= ~ ( ( (bits64) ( absZ1<<1 ) == 0 ) & roundNearestEven ); in roundAndPackInt64() 389 INLINE bits64 extractFloat64Frac( float64 a ) in extractFloat64Frac() 429 normalizeFloat64Subnormal( bits64 aSig, int16 *zExpPtr, bits64 *zSigPtr ) in normalizeFloat64Subnormal() 451 INLINE float64 packFloat64( flag zSign, int16 zExp, bits64 zSig ) in packFloat64() 454 return FLOAT64_MANGLE( ( ( (bits64) zSign )<<63 ) + in packFloat64() 455 ( ( (bits64) zExp )<<52 ) + zSig ); in packFloat64() 482 static float64 roundAndPackFloat64( flag zSign, int16 zExp, bits64 zSig ) in roundAndPackFloat64() 521 || ( zSig + roundIncrement < (bits64)LIT64( 0x8000000000000000 ) ); in roundAndPackFloat64() [all …]
|
/netbsd-src/regress/lib/libc/ieeefp/testfloat/include/ |
H A D | softfloat-specialize | 93 bits64 high, low; 143 z.high = ( (bits64) a )<<41; 212 return ( LIT64( 0xFFE0000000000000 ) < (bits64) ( a<<1 ) ); 260 ( ( (bits64) a.sign )<<63 ) 291 if ( (bits64) ( a<<1 ) < (bits64) ( b<<1 ) ) return b; 292 if ( (bits64) ( b<<1 ) < (bits64) ( a<<1 ) ) return a; 322 return ( ( a.high & 0x7FFF ) == 0x7FFF ) && (bits64) ( a.low<<1 ); 334 bits64 aLow; 339 && (bits64) ( aLow<<1 ) 437 ( LIT64( 0xFFFE000000000000 ) <= (bits64) ( a.high<<1 ) ) [all …]
|
H A D | writeHex.h | 63 void writeHex_bits64( bits64, FILE * );
|
H A D | milieu.h | 121 typedef uint64_t bits64; typedef
|
/netbsd-src/lib/libc/softfloat/ |
H A D | softfloat-specialize | 107 bits64 high, low; 166 z.high = ( (bits64) a )<<41; 230 return ( (bits64)LIT64( 0xFFE0000000000000 ) < 231 (bits64) ( FLOAT64_DEMANGLE(a)<<1 ) ); 285 ( ( (bits64) a.sign )<<63 ) 339 return ( ( a.high & 0x7FFF ) == 0x7FFF ) && (bits64) ( a.low<<1 ); 351 bits64 aLow; 356 && (bits64) ( aLow<<1 ) 446 ( (bits64)LIT64( 0xFFFE000000000000 ) <= (bits64) ( a.high<<1 ) ) 495 z.high |= ( ( (bits64) a.sign )<<63 ) | LIT64( 0x7FFF800000000000 );
|
H A D | softfloat-history.txt | 25 -- Created the 64-bit (bits64) version, adding the floatx80 and float128 29 `bits32' and a `bits64' version. Renamed `environment.h' to `milieu.h'
|
H A D | softfloat-source.txt | 106 bits64 123 bits64 - SoftFloat implementation using 64-bit integers. 164 in `bits*' for either `bits32' or `bits64'. 211 For the `bits64' implementation of SoftFloat, the macro names `FLOATX80' and 290 The remaining steps occur within either the `bits32' or `bits64'
|
/netbsd-src/lib/libc/softfloat/templates/ |
H A D | softfloat-specialize | 62 bits64 high, low; 112 z.high = ( (bits64) a )<<41; 173 return ( LIT64( 0xFFE0000000000000 ) < (bits64) ( a<<1 ) ); 221 ( ( (bits64) a.sign )<<63 ) 275 return ( ( a.high & 0x7FFF ) == 0x7FFF ) && (bits64) ( a.low<<1 ); 287 bits64 aLow; 292 && (bits64) ( aLow<<1 ) 382 ( LIT64( 0xFFFE000000000000 ) <= (bits64) ( a.high<<1 ) ) 431 z.high |= ( ( (bits64) a.sign )<<63 ) | LIT64( 0x7FFF800000000000 );
|
H A D | softfloat.h | 50 typedef !!!bits64 float64; 54 !!!bits64 low; 59 !!!bits64 high, low;
|
/netbsd-src/lib/libc/arch/aarch64/ |
H A D | Makefile.inc | 18 -I${.CURDIR}/softfloat/bits64
|
/netbsd-src/lib/libc/arch/mips/softfloat/ |
H A D | mips-gcc.h | 59 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/arch/m68k/softfloat/ |
H A D | m68k-gcc.h | 61 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/arch/sh3/softfloat/ |
H A D | sh3-gcc.h | 61 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/arch/sparc64/softfloat/ |
H A D | sparc64-gcc.h | 61 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/arch/or1k/softfloat/ |
H A D | or1k-gcc.h | 61 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/arch/aarch64/softfloat/ |
H A D | aarch64-gcc.h | 61 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/arch/powerpc/softfloat/ |
H A D | powerpc-gcc.h | 61 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/arch/sparc64/ |
H A D | Makefile.inc | 21 -I${.CURDIR}/softfloat/bits64
|
/netbsd-src/lib/libc/arch/arm/softfloat/ |
H A D | arm-gcc.h | 59 typedef unsigned long long int bits64; typedef
|
/netbsd-src/lib/libc/softfloat/bits32/ |
H A D | softfloat.c | 390 return FLOAT64_MANGLE( ( ( (bits64) zSign )<<63 ) + in packFloat64() 391 ( ( (bits64) zExp )<<52 ) + in packFloat64() 392 ( ( (bits64) zSig0 )<<32 ) + zSig1 ); in packFloat64() 2209 ( (bits64) ( ( FLOAT64_DEMANGLE(a) | FLOAT64_DEMANGLE(b) )<<1 ) == 0 ); in float64_eq() 2237 ( (bits64) ( ( FLOAT64_DEMANGLE(a) | FLOAT64_DEMANGLE(b) )<<1 ) == in float64_le() 2266 ( (bits64) ( ( FLOAT64_DEMANGLE(a) | FLOAT64_DEMANGLE(b) )<<1 ) != in float64_lt() 2293 return ( a == b ) || ( (bits64) ( ( a | b )<<1 ) == 0 ); in float64_eq_signaling() 2321 if ( aSign != bSign ) return aSign || ( (bits64) ( ( a | b )<<1 ) == 0 ); in float64_le_quiet() 2350 if ( aSign != bSign ) return aSign && ( (bits64) ( ( a | b )<<1 ) != 0 ); in float64_lt_quiet()
|