Home
last modified time | relevance | path

Searched refs:kElementSize (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc1101 const size_t kElementSize = 1 << vsew; in TestVectorPermutationInstruction() local
1111 size_t skip_bits = toskip * kElementSize * 8; in TestVectorPermutationInstruction()
1113 toskip -= 16 / kElementSize; in TestVectorPermutationInstruction()
1156 const size_t kElementsPerRegister = 16 / kElementSize; in TestVectorPermutationInstruction()
1160 const auto mask_for_vl = MakeBitmaskFromVl(last_elem * kElementSize * 8); in TestVectorPermutationInstruction()
1173 switch (kElementSize) { in TestVectorPermutationInstruction()
1201 FAIL() << "Element size is " << kElementSize; in TestVectorPermutationInstruction()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc1006 const size_t kElementSize = 8 << vsew; in TestVectorRegisterGather() local
1008 for (uint8_t index = 0; index < 64 / kElementSize; index++) { in TestVectorRegisterGather()
1009 src2_mask |= kIndexMask << (kElementSize * index); in TestVectorRegisterGather()
1759 const size_t kElementSize = 1 << vsew; in TestVectorPermutationInstruction() local
1769 size_t skip_bits = toskip * kElementSize * 8; in TestVectorPermutationInstruction()
1772 toskip -= 16 / kElementSize; in TestVectorPermutationInstruction()
1812 const size_t kElementsPerRegister = 16 / kElementSize; in TestVectorPermutationInstruction()
1815 const auto [mask_for_vl] = intrinsics::MakeBitmaskFromVl(last_elem * kElementSize * 8); in TestVectorPermutationInstruction()
1829 switch (kElementSize) { in TestVectorPermutationInstruction()
1857 FAIL() << "Element size is " << kElementSize; in TestVectorPermutationInstruction()