Home
last modified time | relevance | path

Searched refs:shiftCount (Results 1 – 7 of 7) sorted by relevance

/freebsd-13.1/lib/libc/softfloat/bits64/
H A Dsoftfloat.c254 int8 shiftCount; in normalizeFloat32Subnormal() local
369 int8 shiftCount; in normalizeRoundAndPackFloat32() local
423 int8 shiftCount; in normalizeFloat64Subnormal() local
541 int8 shiftCount; in normalizeRoundAndPackFloat64() local
600 int8 shiftCount; in normalizeFloatx80Subnormal() local
823 int8 shiftCount; in normalizeRoundAndPackFloatx80() local
913 int8 shiftCount; in normalizeFloat128Subnormal() local
1087 int8 shiftCount; in normalizeRoundAndPackFloat128() local
1171 return packFloat64( 0, 0x432 - shiftCount, zSig<<shiftCount ); in uint32_to_float64()
1209 return packFloatx80( 0, 0x403E - shiftCount, zSig<<shiftCount ); in uint32_to_floatx80()
[all …]
H A Dsoftfloat-macros653 int8 shiftCount;
655 shiftCount = 0;
657 shiftCount += 16;
661 shiftCount += 8;
664 shiftCount += countLeadingZerosHigh[ a>>24 ];
665 return shiftCount;
677 int8 shiftCount;
679 shiftCount = 0;
681 shiftCount += 32;
686 shiftCount += countLeadingZeros32( a );
[all …]
/freebsd-13.1/lib/libc/softfloat/bits32/
H A Dsoftfloat.c151 int8 shiftCount; in normalizeFloat32Subnormal() local
155 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
266 int8 shiftCount; in normalizeRoundAndPackFloat32() local
269 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
343 int8 shiftCount; in normalizeFloat64Subnormal() local
500 int8 shiftCount; in normalizeRoundAndPackFloat64() local
509 if ( 0 <= shiftCount ) { in normalizeRoundAndPackFloat64()
517 zExp -= shiftCount; in normalizeRoundAndPackFloat64()
551 int8 shiftCount; in int32_to_float64() local
584 int16 aExp, shiftCount; in float32_to_int32() local
[all …]
H A Dsoftfloat-macros578 int8 shiftCount;
580 shiftCount = 0;
582 shiftCount += 16;
586 shiftCount += 8;
589 shiftCount += countLeadingZerosHigh[ a>>24 ];
590 return shiftCount;
/freebsd-13.1/tools/test/testfloat/
H A Dslowfloat-32.c55 a.a1 <<= shiftCount; in shortShift64Left()
68 a.a0 >>= shiftCount; in shortShift64RightJamming()
213 int16 shiftCount; in floatXToInt32() local
222 shiftCount = 52 - ax.exp; in floatXToInt32()
223 if ( 56 < shiftCount ) { in floatXToInt32()
230 --shiftCount; in floatXToInt32()
237 if ( ( shiftCount < 0 ) in floatXToInt32()
565 int16 shiftCount, i; in floatXRoundToInt() local
568 shiftCount = 52 - ax.exp; in floatXRoundToInt()
570 if ( 55 < shiftCount ) { in floatXRoundToInt()
[all …]
H A Dslowfloat-64.c58 a.a1 <<= shiftCount; in shortShift128Left()
71 a.a0 >>= shiftCount; in shortShift128RightJamming()
296 int32 shiftCount; in floatXToInt32() local
305 shiftCount = 52 - ax.exp; in floatXToInt32()
306 if ( 56 < shiftCount ) { in floatXToInt32()
313 --shiftCount; in floatXToInt32()
359 int32 shiftCount; in floatXToInt64() local
371 if ( 116 < shiftCount ) { in floatXToInt64()
378 --shiftCount; in floatXToInt64()
975 int32 shiftCount, i; in floatXRoundToInt() local
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp2670 unsigned shiftCount = tcMSB(rhs, parts) + 1; in tcDivide() local
2671 if (shiftCount == 0) in tcDivide()
2674 shiftCount = parts * APINT_BITS_PER_WORD - shiftCount; in tcDivide()
2675 unsigned n = shiftCount / APINT_BITS_PER_WORD; in tcDivide()
2676 WordType mask = (WordType) 1 << (shiftCount % APINT_BITS_PER_WORD); in tcDivide()
2679 tcShiftLeft(srhs, parts, shiftCount); in tcDivide()
2692 if (shiftCount == 0) in tcDivide()
2694 shiftCount--; in tcDivide()