Home
last modified time | relevance | path

Searched refs:deClz32 (Results 1 – 8 of 8) sorted by relevance

/external/deqp/framework/delibs/debase/
DdeInt32Test.c83 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 …]
DdeInt32.h379 DE_INLINE int deClz32 (deUint32 a) in deClz32() function
442 return 31 - deClz32((deUint32)a); in deLog2Floor32()
562 return deClz32((deUint32)(a >> 32)); in deClz64()
563 return deClz32((deUint32)a) + 32; in deClz64()
DdeInt32.c151 int shift = deClz32(a); in deRcp32()
DdeMath.c149 const int exponent = 31 - deClz32((deUint32)deAbs32(x)); in deInt32ToFloatRoundToNegInf()
/external/deqp/modules/gles2/performance/
Des2pTextureCases.cpp88 int l0 = deClz32(val); in roundDownToPowerOfTwo()
/external/deqp/modules/gles3/performance/
Des3pTextureCases.cpp87 int l0 = deClz32(val); in roundDownToPowerOfTwo()
/external/deqp/modules/gles31/functional/
Des31fShaderIntegerFunctionTests.cpp1025 return 31 - deClz32((deUint32)value); in findMSB()
1027 return 31 - deClz32(~(deUint32)value); in findMSB()
1035 return 31 - deClz32(value); in findMSB()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderIntegerFunctionTests.cpp251 return 31 - deClz32((deUint32)value); in findMSB()
253 return 31 - deClz32(~(deUint32)value); in findMSB()
261 return 31 - deClz32(value); in findMSB()