Searched refs:shiftCount (Results 1 – 7 of 7) sorted by relevance
/external/llvm-project/libc/utils/FPUtil/ |
D | DivisionAndRemainderOperations.h | 60 unsigned shiftCount = 0; in remquo() local 62 for (shiftCount = 0; n < my; n <<= 1, ++shiftCount) in remquo() 65 if (static_cast<int>(shiftCount) > exp) in remquo() 68 exp -= shiftCount; in remquo()
|
/external/mesa3d/src/compiler/glsl/ |
D | float64.glsl | 622 int shiftCount; 631 shiftCount = __countLeadingZeros32(zFrac0) - 11; 632 if (0 <= shiftCount) { 634 __shortShift64Left(zFrac0, zFrac1, shiftCount, zFrac0, zFrac1); 637 zFrac0, zFrac1, 0u, -shiftCount, zFrac0, zFrac1, zFrac2); 639 zExp -= shiftCount; 850 int shiftCount; 852 shiftCount = __countLeadingZeros32(mix(aFrac0, aFrac1, aFrac0 == 0u)) - 11; 853 zExpPtr = mix(1 - shiftCount, -shiftCount - 31, aFrac0 == 0u); 855 temp_zfrac0 = mix(aFrac1<<shiftCount, aFrac1>>(-shiftCount), shiftCount < 0); [all …]
|
/external/icu/icu4c/source/common/ |
D | utrace.cpp | 130 int32_t shiftCount; in outputHexBytes() local 131 for (shiftCount=(charsToOutput-1)*4; shiftCount >= 0; shiftCount-=4) { in outputHexBytes() 132 char c = gHexChars[(val >> shiftCount) & 0xf]; in outputHexBytes()
|
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
D | APInt.cpp | 2673 unsigned int n, shiftCount; in tcDivide() local 2678 shiftCount = tcMSB(rhs, parts) + 1; in tcDivide() 2679 if (shiftCount == 0) in tcDivide() 2682 shiftCount = parts * integerPartWidth - shiftCount; in tcDivide() 2683 n = shiftCount / integerPartWidth; in tcDivide() 2684 mask = (integerPart) 1 << (shiftCount % integerPartWidth); in tcDivide() 2687 tcShiftLeft(srhs, parts, shiftCount); in tcDivide() 2702 if (shiftCount == 0) in tcDivide() 2704 shiftCount--; in tcDivide()
|
/external/llvm/lib/Support/ |
D | APInt.cpp | 2699 unsigned int n, shiftCount; in tcDivide() local 2704 shiftCount = tcMSB(rhs, parts) + 1; in tcDivide() 2705 if (shiftCount == 0) in tcDivide() 2708 shiftCount = parts * integerPartWidth - shiftCount; in tcDivide() 2709 n = shiftCount / integerPartWidth; in tcDivide() 2710 mask = (integerPart) 1 << (shiftCount % integerPartWidth); in tcDivide() 2713 tcShiftLeft(srhs, parts, shiftCount); in tcDivide() 2728 if (shiftCount == 0) in tcDivide() 2730 shiftCount--; in tcDivide()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | APInt.cpp | 2675 unsigned shiftCount = tcMSB(rhs, parts) + 1; in tcDivide() local 2676 if (shiftCount == 0) in tcDivide() 2679 shiftCount = parts * APINT_BITS_PER_WORD - shiftCount; in tcDivide() 2680 unsigned n = shiftCount / APINT_BITS_PER_WORD; in tcDivide() 2681 WordType mask = (WordType) 1 << (shiftCount % APINT_BITS_PER_WORD); in tcDivide() 2684 tcShiftLeft(srhs, parts, shiftCount); in tcDivide() 2697 if (shiftCount == 0) in tcDivide() 2699 shiftCount--; in tcDivide()
|
/external/llvm-project/llvm/lib/Support/ |
D | APInt.cpp | 2674 unsigned shiftCount = tcMSB(rhs, parts) + 1; in tcDivide() local 2675 if (shiftCount == 0) in tcDivide() 2678 shiftCount = parts * APINT_BITS_PER_WORD - shiftCount; in tcDivide() 2679 unsigned n = shiftCount / APINT_BITS_PER_WORD; in tcDivide() 2680 WordType mask = (WordType) 1 << (shiftCount % APINT_BITS_PER_WORD); in tcDivide() 2683 tcShiftLeft(srhs, parts, shiftCount); in tcDivide() 2696 if (shiftCount == 0) in tcDivide() 2698 shiftCount--; in tcDivide()
|