Home
last modified time | relevance | path

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

/freebsd/lib/libc/softfloat/bits64/
H A Dsoftfloat.c251 int8 shiftCount; in normalizeFloat32Subnormal() local
253 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
254 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
255 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
366 int8 shiftCount; in normalizeRoundAndPackFloat32() local
368 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
369 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
420 int8 shiftCount; in normalizeFloat64Subnormal() local
422 shiftCount = countLeadingZeros64( aSig ) - 11; in normalizeFloat64Subnormal()
423 *zSigPtr = aSig<<shiftCount; in normalizeFloat64Subnormal()
[all …]
H A Dsoftfloat-macros652 int8 shiftCount;
654 shiftCount = 0;
656 shiftCount += 16;
660 shiftCount += 8;
663 shiftCount += countLeadingZerosHigh[ a>>24 ];
664 return shiftCount;
676 int8 shiftCount;
678 shiftCount = 0;
680 shiftCount += 32;
685 shiftCount += countLeadingZeros32( a );
[all …]
/freebsd/lib/libc/softfloat/bits32/
H A Dsoftfloat.c148 int8 shiftCount; in normalizeFloat32Subnormal() local
150 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
151 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
152 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
263 int8 shiftCount; in normalizeRoundAndPackFloat32() local
265 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
266 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
340 int8 shiftCount; in normalizeFloat64Subnormal() local
343 shiftCount = countLeadingZeros32( aSig1 ) - 11; in normalizeFloat64Subnormal()
344 if ( shiftCount < 0 ) { in normalizeFloat64Subnormal()
[all …]
H A Dsoftfloat-macros577 int8 shiftCount;
579 shiftCount = 0;
581 shiftCount += 16;
585 shiftCount += 8;
588 shiftCount += countLeadingZerosHigh[ a>>24 ];
589 return shiftCount;
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAPInt.cpp2631 unsigned shiftCount = tcMSB(rhs, parts) + 1; in tcDivide() local
2632 if (shiftCount == 0) in tcDivide()
2635 shiftCount = parts * APINT_BITS_PER_WORD - shiftCount; in tcDivide()
2636 unsigned n = shiftCount / APINT_BITS_PER_WORD; in tcDivide()
2637 WordType mask = (WordType) 1 << (shiftCount % APINT_BITS_PER_WORD); in tcDivide()
2640 tcShiftLeft(srhs, parts, shiftCount); in tcDivide()
2653 if (shiftCount == 0) in tcDivide()
2655 shiftCount--; in tcDivide()