Searched refs:BitUtilLog2 (Results 1 – 6 of 6) sorted by relevance
/frameworks/libs/binary_translation/base/include/berberis/base/ |
D | pointer_and_counter.h | 36 static const size_t kAlignBits = BitUtilLog2(kAlign);
|
D | bit_util.h | 177 constexpr T BitUtilLog2(T x) { in BitUtilLog2() function
|
/frameworks/libs/binary_translation/base/ |
D | bit_util_test.cc | 55 static_assert(BitUtilLog2(1) == 0); 56 static_assert(BitUtilLog2(16) == 4); 57 static_assert(BitUtilLog2(sizeof(void*)) > 0);
|
/frameworks/libs/binary_translation/interpreter/riscv64/ |
D | interpreter_test.cc | 118 state_.cpu.vtype = (BitUtilLog2(sizeof(ElementType)) << 3) | /*vlmul=*/1; in TestFPExceptions() 240 (BitUtilLog2(sizeof(ElementType)) << 3) | BitUtilLog2(kLmul); in TestVectorLoad() 413 state_.cpu.vtype = (BitUtilLog2(sizeof(ElementType)) << 3) | BitUtilLog2(kLmul); in TestVectorStore() 453 state_.cpu.vtype = (BitUtilLog2(sizeof(ElementType)) << 3) | BitUtilLog2(kLmul); in TestVectorStore() 505 (BitUtilLog2(sizeof(ElementType)) << 3) | BitUtilLog2(kLmul); in TestVectorStore() 851 state_.cpu.vtype = BitUtilLog2(sizeof(ElementType)) << 3; in TestVmvXr() 882 state_.cpu.vtype = BitUtilLog2(sizeof(ElementType)) << 3; in TestVfmvfs() 897 state_.cpu.vtype = (vta << 6) | (BitUtilLog2(sizeof(ElementType)) << 3); in TestVfmvsf() 923 state_.cpu.vtype = (vta << 6) | (BitUtilLog2(sizeof(ElementType)) << 3); in TestVmvsx() 947 state_.cpu.vtype = BitUtilLog2(sizeof(ElementType)) << 3; in TestVmvxs() [all …]
|
/frameworks/libs/binary_translation/intrinsics/include/berberis/intrinsics/ |
D | intrinsics_fixed_point_impl.h | 129 static_cast<uint8_t>(premasked_d & ((1 << BitUtilLog2(sizeof(ElementType) * 8)) - 1))}; in Roundoff()
|
/frameworks/libs/binary_translation/tests/inline_asm_tests/ |
D | main_riscv64.cc | 30 constexpr T BitUtilLog2(T x) { in BitUtilLog2() function 613 BitUtilLog2(sizeof(std::tuple_element_t<0, ExpectedResultType>)) - in TestVectorInstructionInternal() 618 BitUtilLog2(sizeof(std::tuple_element_t<0, ExpectedResultType>)) - in TestVectorInstructionInternal() 795 BitUtilLog2(sizeof(ExpectedResultType)), in TestVectorReductionInstruction() 799 BitUtilLog2(sizeof(ExpectedResultType)), in TestVectorReductionInstruction() 927 BitUtilLog2(sizeof(std::tuple_element_t<0, ExpectedResultType>)), in TestVectorIota() 1248 BitUtilLog2(sizeof(std::tuple_element_t<0, ExpectedResultType>)), in TestVectorPermutationInstruction() 1253 BitUtilLog2(sizeof(std::tuple_element_t<0, ExpectedResultType>)), in TestVectorPermutationInstruction() 1358 BitUtilLog2(sizeof(__uint128_t) / sizeof(ExpectedResultType)), in TestVectorMaskTargetInstruction() 1362 BitUtilLog2(sizeof(__uint128_t) / sizeof(ExpectedResultType)), in TestVectorMaskTargetInstruction()
|