Home
last modified time | relevance | path

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

/openbsd-src/sys/lib/libkern/
H A Dsoftfloat.c310 int8 shiftCount; in normalizeFloat32Subnormal() local
312 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
313 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
314 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
425 int8 shiftCount; in normalizeRoundAndPackFloat32() local
427 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
428 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
479 int8 shiftCount; in normalizeFloat64Subnormal() local
481 shiftCount = countLeadingZeros64( aSig ) - 11; in normalizeFloat64Subnormal()
482 *zSigPtr = aSig<<shiftCount; in normalizeFloat64Subnormal()
[all …]
H A Dsoftfloat-macros.h678 int8 shiftCount; in countLeadingZeros32() local
680 shiftCount = 0; in countLeadingZeros32()
682 shiftCount += 16; in countLeadingZeros32()
686 shiftCount += 8; in countLeadingZeros32()
689 shiftCount += countLeadingZerosHigh[ a>>24 ]; in countLeadingZeros32()
690 return shiftCount; in countLeadingZeros32()
703 int8 shiftCount; in countLeadingZeros64() local
705 shiftCount = 0; in countLeadingZeros64()
707 shiftCount += 32; in countLeadingZeros64()
712 shiftCount += countLeadingZeros32( a ); in countLeadingZeros64()
[all …]
/openbsd-src/lib/libc/softfloat/
H A Dsoftfloat.c149 int8 shiftCount; in normalizeFloat32Subnormal() local
151 shiftCount = countLeadingZeros32( aSig ) - 8; in normalizeFloat32Subnormal()
152 *zSigPtr = aSig<<shiftCount; in normalizeFloat32Subnormal()
153 *zExpPtr = 1 - shiftCount; in normalizeFloat32Subnormal()
264 int8 shiftCount; in normalizeRoundAndPackFloat32() local
266 shiftCount = countLeadingZeros32( zSig ) - 1; in normalizeRoundAndPackFloat32()
267 return roundAndPackFloat32( zSign, zExp - shiftCount, zSig<<shiftCount ); in normalizeRoundAndPackFloat32()
341 int8 shiftCount; in normalizeFloat64Subnormal() local
344 shiftCount = countLeadingZeros32( aSig1 ) - 11; in normalizeFloat64Subnormal()
345 if ( shiftCount < 0 ) { in normalizeFloat64Subnormal()
[all …]
H A Dsoftfloat-macros.h578 int8 shiftCount; in countLeadingZeros32() local
580 shiftCount = 0; in countLeadingZeros32()
582 shiftCount += 16; in countLeadingZeros32()
586 shiftCount += 8; in countLeadingZeros32()
589 shiftCount += countLeadingZerosHigh[ a>>24 ]; in countLeadingZeros32()
590 return shiftCount; in countLeadingZeros32()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DAPInt.cpp2620 unsigned shiftCount = tcMSB(rhs, parts) + 1; in tcDivide() local
2621 if (shiftCount == 0) in tcDivide()
2624 shiftCount = parts * APINT_BITS_PER_WORD - shiftCount; in tcDivide()
2625 unsigned n = shiftCount / APINT_BITS_PER_WORD; in tcDivide()
2626 WordType mask = (WordType) 1 << (shiftCount % APINT_BITS_PER_WORD); in tcDivide()
2629 tcShiftLeft(srhs, parts, shiftCount); in tcDivide()
2642 if (shiftCount == 0) in tcDivide()
2644 shiftCount--; in tcDivide()