Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc1159 const size_t last_elem = (vl - 1) % kElementsPerRegister; in TestVectorPermutationInstruction() local
1160 const auto mask_for_vl = MakeBitmaskFromVl(last_elem * kElementSize * 8); in TestVectorPermutationInstruction()
1176 << (last_elem * 8); in TestVectorPermutationInstruction()
1180 << (last_elem * 16); in TestVectorPermutationInstruction()
1185 static_cast<__uint128_t>(static_cast<uint32_t>(float_res)) << (last_elem * 32); in TestVectorPermutationInstruction()
1188 << (last_elem * 32); in TestVectorPermutationInstruction()
1194 static_cast<__uint128_t>(static_cast<uint64_t>(float_res)) << (last_elem * 64); in TestVectorPermutationInstruction()
1197 << (last_elem * 64); in TestVectorPermutationInstruction()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc1814 const size_t last_elem = (state_.cpu.vl - 1) % kElementsPerRegister; in TestVectorPermutationInstruction() local
1815 const auto [mask_for_vl] = intrinsics::MakeBitmaskFromVl(last_elem * kElementSize * 8); in TestVectorPermutationInstruction()
1832 static_cast<uint8_t>(GetXReg<1>(state_.cpu)), last_elem); in TestVectorPermutationInstruction()
1836 static_cast<uint16_t>(GetXReg<1>(state_.cpu)), last_elem); in TestVectorPermutationInstruction()
1841 static_cast<uint32_t>(GetFReg<1>(state_.cpu)), last_elem); in TestVectorPermutationInstruction()
1844 static_cast<uint32_t>(GetXReg<1>(state_.cpu)), last_elem); in TestVectorPermutationInstruction()
1850 static_cast<uint64_t>(GetFReg<1>(state_.cpu)), last_elem); in TestVectorPermutationInstruction()
1853 static_cast<uint64_t>(GetXReg<1>(state_.cpu)), last_elem); in TestVectorPermutationInstruction()