Home
last modified time | relevance | path

Searched refs:bits32 (Results 1 – 25 of 26) sorted by relevance

12

/netbsd/src/lib/libc/softfloat/bits32/
Dsoftfloat-macros42 INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr )
44 bits32 z;
70 bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
72 bits32 z0, z1;
106 bits32 a0, bits32 a1, int16 count, bits32 *z0Ptr, bits32 *z1Ptr )
108 bits32 z0, z1;
158 bits32 a0,
159 bits32 a1,
160 bits32 a2,
162 bits32 *z0Ptr,
[all …]
Dsoftfloat.c117 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac()
157 normalizeFloat32Subnormal( bits32 aSig, int16 *zExpPtr, bits32 *zSigPtr ) in normalizeFloat32Subnormal()
179 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32()
182 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32()
209 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32()
272 normalizeRoundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in normalizeRoundAndPackFloat32()
287 INLINE bits32 extractFloat64Frac1( float64 a ) in extractFloat64Frac1()
290 return (bits32)(FLOAT64_DEMANGLE(a) & LIT64(0x00000000FFFFFFFF)); in extractFloat64Frac1()
300 INLINE bits32 extractFloat64Frac0( float64 a ) in extractFloat64Frac0()
303 return (bits32)((FLOAT64_DEMANGLE(a) >> 32) & 0x000FFFFF); in extractFloat64Frac0()
[all …]
/netbsd/src/sys/lib/libkern/
Dsoftfloat-macros.h36 INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr ) in shift32RightJamming()
38 bits32 z; in shift32RightJamming()
445 bits32 aHigh, aLow, bHigh, bLow; in mul64To128()
573 static bits32 estimateSqrt32( int16 aExp, bits32 a ) in estimateSqrt32()
584 bits32 z; in estimateSqrt32()
596 if ( z <= a ) return (bits32) ( ( (sbits32) a )>>1 ); in estimateSqrt32()
598 return ( (bits32) ( ( ( (bits64) a )<<31 ) / z ) ) + ( z>>1 ); in estimateSqrt32()
608 static int8 countLeadingZeros32( bits32 a ) in countLeadingZeros32()
Dsoftfloat-specialize.h86 return ( 0xFF000000 < (bits32) ( a<<1 ) ); in float32_is_nan()
128 return ( ( (bits32) a.sign )<<31 ) | 0x7FC00000 | ( a.high>>41 ); in commonNaNToFloat32()
156 if ( (bits32) ( a<<1 ) < (bits32) ( b<<1 ) ) return b; in propagateFloat32NaN()
157 if ( (bits32) ( b<<1 ) < (bits32) ( a<<1 ) ) return a; in propagateFloat32NaN()
Dsoftfloat.c233 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac()
270 normalizeFloat32Subnormal( bits32 aSig, int16 *zExpPtr, bits32 *zSigPtr ) in normalizeFloat32Subnormal()
291 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32()
294 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32()
320 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32()
382 normalizeRoundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in normalizeRoundAndPackFloat32()
686 if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) { in roundAndPackFloatx80()
740 if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) { in roundAndPackFloatx80()
995 if ( 0x7FFD <= (bits32) zExp ) { in roundAndPackFloat128()
1322 bits32 aSig; in float32_to_int32()
[all …]
Dmilieu.h114 typedef uint32_t bits32; typedef
/netbsd/src/lib/libc/softfloat/bits64/
Dsoftfloat.c220 INLINE bits32 extractFloat32Frac( float32 a ) in extractFloat32Frac()
260 normalizeFloat32Subnormal( bits32 aSig, int16 *zExpPtr, bits32 *zSigPtr ) in normalizeFloat32Subnormal()
282 INLINE float32 packFloat32( flag zSign, int16 zExp, bits32 zSig ) in packFloat32()
285 return ( ( (bits32) zSign )<<31 ) + ( ( (bits32) zExp )<<23 ) + zSig; in packFloat32()
312 static float32 roundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in roundAndPackFloat32()
375 normalizeRoundAndPackFloat32( flag zSign, int16 zExp, bits32 zSig ) in normalizeRoundAndPackFloat32()
696 if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) { in roundAndPackFloatx80()
750 if ( 0x7FFD <= (bits32) ( zExp - 1 ) ) { in roundAndPackFloatx80()
1013 if ( 0x7FFD <= (bits32) zExp ) { in roundAndPackFloat128()
1140 if ( a & (bits32) 0x80000000 ) in uint32_to_float32()
[all …]
Dsoftfloat-macros43 INLINE void shift32RightJamming( bits32 a, int16 count, bits32 *zPtr )
45 bits32 z;
464 bits32 aHigh, aLow, bHigh, bLow;
467 aLow = (bits32)a;
468 aHigh = (bits32)(a>>32);
469 bLow = (bits32)b;
470 bHigh = (bits32)(b>>32);
596 static bits32 estimateSqrt32( int16 aExp, bits32 a )
607 bits32 z;
619 if ( z <= a ) return (bits32) ( ( (bits32) a )>>1 );
[all …]
/netbsd/src/regress/lib/libc/ieeefp/testfloat/include/
Dsoftfloat-specialize112 return ( 0xFF000000 < (bits32) ( a<<1 ) );
157 return ( ( (bits32) a.sign )<<31 ) | 0x7FC00000 | ( a.high>>41 );
186 if ( (bits32) ( a<<1 ) < (bits32) ( b<<1 ) ) return b;
187 if ( (bits32) ( b<<1 ) < (bits32) ( a<<1 ) ) return a;
DwriteHex.h61 void writeHex_bits32( bits32, FILE * );
Dmilieu.h118 typedef uint32_t bits32; typedef
/netbsd/src/lib/libc/arch/mips/softfloat/
Dmips-gcc.h56 typedef unsigned int bits32; typedef
/netbsd/src/lib/libc/arch/sh3/softfloat/
Dsh3-gcc.h58 typedef unsigned int bits32; typedef
/netbsd/src/lib/libc/arch/powerpc/softfloat/
Dpowerpc-gcc.h58 typedef unsigned int bits32; typedef
/netbsd/src/lib/libc/arch/m68k/softfloat/
Dm68k-gcc.h58 typedef unsigned int bits32; typedef
/netbsd/src/lib/libc/arch/aarch64/softfloat/
Daarch64-gcc.h58 typedef unsigned int bits32; typedef
/netbsd/src/lib/libc/arch/sparc64/softfloat/
Dsparc64-gcc.h58 typedef unsigned int bits32; typedef
/netbsd/src/lib/libc/arch/arm/softfloat/
Darm-gcc.h56 typedef unsigned int bits32; typedef
/netbsd/src/lib/libc/softfloat/
Dsoftfloat-history.txt29 `bits32' and a `bits64' version. Renamed `environment.h' to `milieu.h'
Dsoftfloat-specialize205 return ( (bits32)0xFF000000 < (bits32) ( a<<1 ) );
256 return ( ( (bits32) a.sign )<<31 ) | 0x7FC00000 | (bits32)( a.high>>41 );
Dsoftfloat-source.txt110 bits32
124 bits32 - SoftFloat implementation using only 32-bit integers.
164 in `bits*' for either `bits32' or `bits64'.
290 The remaining steps occur within either the `bits32' or `bits64'
/netbsd/src/regress/lib/libc/ieeefp/testfloat/
DwriteHex.c118 void writeHex_bits32( bits32 a, FILE *stream ) in writeHex_bits32()
DtestCases.c1282 static const struct { bits32 high, low; } float64P1[ float64NumP1 ] = {
1289 static const struct { bits32 high, low; } float64P2[ float64NumP2 ] = {
/netbsd/src/lib/libc/softfloat/templates/
Dsoftfloat.h49 typedef !!!bits32 float32;
Dsoftfloat-specialize81 return ( 0xFF000000 < (bits32) ( a<<1 ) );
126 return ( ( (bits32) a.sign )<<31 ) | 0x7FC00000 | ( a.high>>41 );

12