Home
last modified time | relevance | path

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

/NextBSD/lib/libc/softfloat/bits64/
HDsoftfloat.c254 int8 shiftCount; in normalizeFloat32Subnormal() local
256 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
257 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
258 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
369 int8 shiftCount; in normalizeRoundAndPackFloat32() local
371 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
372 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
423 int8 shiftCount; in normalizeFloat64Subnormal() local
425 shiftCount = countLeadingZeros64( aSig ) - 11; in normalizeFloat64Subnormal()
426 *zSigPtr = aSig<<shiftCount; in normalizeFloat64Subnormal()
[all …]
HDsoftfloat-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 …]
/NextBSD/lib/libc/softfloat/bits32/
HDsoftfloat.c151 int8 shiftCount; in normalizeFloat32Subnormal() local
153 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
154 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
155 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
266 int8 shiftCount; in normalizeRoundAndPackFloat32() local
268 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
269 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
343 int8 shiftCount; in normalizeFloat64Subnormal() local
346 shiftCount = countLeadingZeros32( aSig1 ) - 11; in normalizeFloat64Subnormal()
347 if ( shiftCount < 0 ) { in normalizeFloat64Subnormal()
[all …]
HDsoftfloat-macros578 int8 shiftCount;
580 shiftCount = 0;
582 shiftCount += 16;
586 shiftCount += 8;
589 shiftCount += countLeadingZerosHigh[ a>>24 ];
590 return shiftCount;
/NextBSD/tools/test/testfloat/
HDslowfloat-32.c49 static bits64X shortShift64Left( bits64X a, int8 shiftCount ) in shortShift64Left() argument
53 negShiftCount = ( - shiftCount & 31 ); in shortShift64Left()
54 a.a0 = ( a.a0<<shiftCount ) | ( a.a1>>negShiftCount ); in shortShift64Left()
55 a.a1 <<= shiftCount; in shortShift64Left()
60 static bits64X shortShift64RightJamming( bits64X a, int8 shiftCount ) in shortShift64RightJamming() argument
65 negShiftCount = ( - shiftCount & 31 ); in shortShift64RightJamming()
67 a.a1 = ( a.a0<<negShiftCount ) | ( a.a1>>shiftCount ) | ( extra != 0 ); in shortShift64RightJamming()
68 a.a0 >>= shiftCount; in shortShift64RightJamming()
213 int16 shiftCount; in floatXToInt32() local
222 shiftCount = 52 - ax.exp; in floatXToInt32()
[all …]
HDslowfloat-64.c52 static bits128X shortShift128Left( bits128X a, int8 shiftCount ) in shortShift128Left() argument
56 negShiftCount = ( - shiftCount & 63 ); in shortShift128Left()
57 a.a0 = ( a.a0<<shiftCount ) | ( a.a1>>negShiftCount ); in shortShift128Left()
58 a.a1 <<= shiftCount; in shortShift128Left()
63 static bits128X shortShift128RightJamming( bits128X a, int8 shiftCount ) in shortShift128RightJamming() argument
68 negShiftCount = ( - shiftCount & 63 ); in shortShift128RightJamming()
70 a.a1 = ( a.a0<<negShiftCount ) | ( a.a1>>shiftCount ) | ( extra != 0 ); in shortShift128RightJamming()
71 a.a0 >>= shiftCount; in shortShift128RightJamming()
296 int32 shiftCount; in floatXToInt32() local
305 shiftCount = 52 - ax.exp; in floatXToInt32()
[all …]
/NextBSD/contrib/llvm/lib/Support/
HDAPInt.cpp2695 unsigned int n, shiftCount; in tcDivide() local
2700 shiftCount = tcMSB(rhs, parts) + 1; in tcDivide()
2701 if (shiftCount == 0) in tcDivide()
2704 shiftCount = parts * integerPartWidth - shiftCount; in tcDivide()
2705 n = shiftCount / integerPartWidth; in tcDivide()
2706 mask = (integerPart) 1 << (shiftCount % integerPartWidth); in tcDivide()
2709 tcShiftLeft(srhs, parts, shiftCount); in tcDivide()
2724 if (shiftCount == 0) in tcDivide()
2726 shiftCount--; in tcDivide()