Searched refs:MULTIPLY_DE_BRUIJN_BIT_POSITION (Results 1 – 1 of 1) sorted by relevance
/arkcompiler/runtime_core/libpandabase/utils/ |
D | math_helpers.h | 82 …constexpr std::array<uint32_t, 32> MULTIPLY_DE_BRUIJN_BIT_POSITION = {0, 1, 28, 2, 29, 14, 24, … in Ctz() local 87 …return MULTIPLY_DE_BRUIJN_BIT_POSITION[(static_cast<uint32_t>((value & static_cast<uint32_t>(-valu… in Ctz() 96 …constexpr std::array<uint32_t, 32> MULTIPLY_DE_BRUIJN_BIT_POSITION = {0, 9, 1, 10, 13, 21, 2, … in Clz() local 106 …return BIT32 - 1 - MULTIPLY_DE_BRUIJN_BIT_POSITION[static_cast<uint32_t>(value * 0x07C4ACDDU) >> S… in Clz()
|