Home
last modified time | relevance | path

Searched refs:bits64 (Results 1 – 25 of 30) sorted by relevance

12

/netbsd-src/sys/lib/libkern/
H A Dsoftfloat-macros.h62 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 Dsoftfloat.c105 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 Dsoftfloat-specialize.h70 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 Dmilieu.h117 typedef uint64_t bits64; typedef
/netbsd-src/lib/libc/softfloat/bits64/
H A Dsoftfloat-macros70 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 Dsoftfloat.c122 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 Dsoftfloat-specialize93 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 DwriteHex.h63 void writeHex_bits64( bits64, FILE * );
H A Dmilieu.h121 typedef uint64_t bits64; typedef
/netbsd-src/lib/libc/softfloat/
H A Dsoftfloat-specialize107 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 Dsoftfloat-history.txt25 -- 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 Dsoftfloat-source.txt106 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 Dsoftfloat-specialize62 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 Dsoftfloat.h50 typedef !!!bits64 float64;
54 !!!bits64 low;
59 !!!bits64 high, low;
/netbsd-src/lib/libc/arch/aarch64/
H A DMakefile.inc18 -I${.CURDIR}/softfloat/bits64
/netbsd-src/lib/libc/arch/mips/softfloat/
H A Dmips-gcc.h59 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/arch/m68k/softfloat/
H A Dm68k-gcc.h61 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/arch/sh3/softfloat/
H A Dsh3-gcc.h61 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/arch/sparc64/softfloat/
H A Dsparc64-gcc.h61 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/arch/or1k/softfloat/
H A Dor1k-gcc.h61 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/arch/aarch64/softfloat/
H A Daarch64-gcc.h61 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/arch/powerpc/softfloat/
H A Dpowerpc-gcc.h61 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/arch/sparc64/
H A DMakefile.inc21 -I${.CURDIR}/softfloat/bits64
/netbsd-src/lib/libc/arch/arm/softfloat/
H A Darm-gcc.h59 typedef unsigned long long int bits64; typedef
/netbsd-src/lib/libc/softfloat/bits32/
H A Dsoftfloat.c390 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()

12