Searched refs:deClz32 (Results 1 – 6 of 6) sorted by relevance
79 DE_TEST_ASSERT(deClz32(0) == 32); in deInt32_selfTest()80 DE_TEST_ASSERT(deClz32(1) == 31); in deInt32_selfTest()81 DE_TEST_ASSERT(deClz32(0xF1) == 24); in deInt32_selfTest()82 DE_TEST_ASSERT(deClz32(0xBC12) == 16); in deInt32_selfTest()83 DE_TEST_ASSERT(deClz32(0xABBACD) == 8); in deInt32_selfTest()84 DE_TEST_ASSERT(deClz32(0x10000000) == 3); in deInt32_selfTest()85 DE_TEST_ASSERT(deClz32(0x20000000) == 2); in deInt32_selfTest()86 DE_TEST_ASSERT(deClz32(0x40000000) == 1); in deInt32_selfTest()87 DE_TEST_ASSERT(deClz32(0x80000000) == 0); in deInt32_selfTest()
264 DE_INLINE int deClz32 (deUint32 a) in deClz32() function296 return 31 - deClz32(a); in deLog2Floor32()402 return deClz32((deInt32)(a >> 32)); in deClz64()403 return deClz32((deInt32)a) + 32; in deClz64()
131 int shift = deClz32(a); in deRcp32()
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()