Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc1158 const size_t last_reg = (vl - 1) / kElementsPerRegister; in TestVectorPermutationInstruction() local
1163 expected_inactive[last_reg] = in TestVectorPermutationInstruction()
1164 (expected_inactive[last_reg] & ~mask_for_vl) | (kUndisturbedResult & mask_for_vl); in TestVectorPermutationInstruction()
1175 expected_result[last_reg] = static_cast<__uint128_t>(static_cast<uint8_t>(int_res)) in TestVectorPermutationInstruction()
1179 expected_result[last_reg] = static_cast<__uint128_t>(static_cast<uint16_t>(int_res)) in TestVectorPermutationInstruction()
1184 expected_result[last_reg] = in TestVectorPermutationInstruction()
1187 expected_result[last_reg] = static_cast<__uint128_t>(static_cast<uint32_t>(int_res)) in TestVectorPermutationInstruction()
1193 expected_result[last_reg] = in TestVectorPermutationInstruction()
1196 expected_result[last_reg] = static_cast<__uint128_t>(static_cast<uint64_t>(int_res)) in TestVectorPermutationInstruction()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc1813 const size_t last_reg = (state_.cpu.vl - 1) / kElementsPerRegister; in TestVectorPermutationInstruction() local
1818 expected_inactive[last_reg] = in TestVectorPermutationInstruction()
1819 ((expected_inactive[last_reg] & ~mask_for_vl) | (kUndisturbedResult & mask_for_vl)) in TestVectorPermutationInstruction()
1831 expected_result[last_reg].template Set<uint8_t>( in TestVectorPermutationInstruction()
1835 expected_result[last_reg].template Set<uint16_t>( in TestVectorPermutationInstruction()
1840 expected_result[last_reg].template Set<uint32_t>( in TestVectorPermutationInstruction()
1843 expected_result[last_reg].template Set<uint32_t>( in TestVectorPermutationInstruction()
1849 expected_result[last_reg].template Set<uint64_t>( in TestVectorPermutationInstruction()
1852 expected_result[last_reg].template Set<uint64_t>( in TestVectorPermutationInstruction()