Searched refs:deClz32 (Results 1 – 8 of 8) sorted by relevance
83 DE_TEST_ASSERT(deClz32(1u << i) == 31-i); in deInt32_selfTest()84 DE_TEST_ASSERT(deClz32((1u << i) | ((1u << i)-1u)) == 31-i); in deInt32_selfTest()88 DE_TEST_ASSERT(deClz32(0) == 32); in deInt32_selfTest()89 DE_TEST_ASSERT(deClz32(1) == 31); in deInt32_selfTest()90 DE_TEST_ASSERT(deClz32(0xF1) == 24); in deInt32_selfTest()91 DE_TEST_ASSERT(deClz32(0xBC12) == 16); in deInt32_selfTest()92 DE_TEST_ASSERT(deClz32(0xABBACD) == 8); in deInt32_selfTest()93 DE_TEST_ASSERT(deClz32(0x10000000) == 3); in deInt32_selfTest()94 DE_TEST_ASSERT(deClz32(0x20000000) == 2); in deInt32_selfTest()95 DE_TEST_ASSERT(deClz32(0x40000000) == 1); in deInt32_selfTest()[all …]
379 DE_INLINE int deClz32 (deUint32 a) in deClz32() function442 return 31 - deClz32((deUint32)a); in deLog2Floor32()562 return deClz32((deUint32)(a >> 32)); in deClz64()563 return deClz32((deUint32)a) + 32; in deClz64()
151 int shift = deClz32(a); in deRcp32()
149 const int exponent = 31 - deClz32((deUint32)deAbs32(x)); in deInt32ToFloatRoundToNegInf()
88 int l0 = deClz32(val); in roundDownToPowerOfTwo()
87 int l0 = deClz32(val); in roundDownToPowerOfTwo()
1025 return 31 - deClz32((deUint32)value); in findMSB()1027 return 31 - deClz32(~(deUint32)value); in findMSB()1035 return 31 - deClz32(value); in findMSB()
251 return 31 - deClz32((deUint32)value); in findMSB()253 return 31 - deClz32(~(deUint32)value); in findMSB()261 return 31 - deClz32(value); in findMSB()