Home
last modified time | relevance | path

Searched refs:vlmul (Results 1 – 3 of 3) sorted by relevance

/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter.h444 static constexpr size_t NumberOfRegistersInvolved(VectorRegisterGroupMultiplier vlmul) { in NumberOfRegistersInvolved() argument
445 switch (vlmul) { in NumberOfRegistersInvolved()
457 static constexpr size_t NumRegistersInvolvedForWideOperand(VectorRegisterGroupMultiplier vlmul) { in NumRegistersInvolvedForWideOperand() argument
458 switch (vlmul) { in NumRegistersInvolvedForWideOperand()
470 template <typename ElementType, VectorRegisterGroupMultiplier vlmul>
473 switch (vlmul) { in GetVlmax()
571 VectorRegisterGroupMultiplier vlmul = static_cast<VectorRegisterGroupMultiplier>(vtype & 0x7); in OpVector() local
577 return OpVector<intrinsics::Float16>(args, vlmul, vtype); in OpVector()
584 vlmul, in OpVector()
589 return OpVector<Float64>(args, vlmul, vtype, bit_cast<Float64>(extra_args)...); in OpVector()
[all …]
Dinterpreter_test.cc315 for (uint8_t vlmul = 0; vlmul < 4; ++vlmul) { in TestVlm() local
316 const uint8_t kElementsCount = (16 >> sew) << vlmul; in TestVlm()
322 state_.cpu.vtype = (vma << 7) | (vta << 6) | (sew << 3) | vlmul; in TestVlm()
540 for (uint8_t vlmul = 0; vlmul < 4; ++vlmul) { in TestVsm() local
541 const uint8_t kElementsCount = (16 >> sew) << vlmul; in TestVsm()
547 state_.cpu.vtype = (vma << 7) | (vta << 6) | (sew << 3) | vlmul; in TestVsm()
629 for (uint8_t vlmul = 0; vlmul < vlmul_max; ++vlmul) { in TestVleXX() local
630 int vemul = SignExtend<3>(vlmul); in TestVleXX()
641 intrinsics::Vsetvl(~0ULL, (vma << 7) | (vta << 6) | (vsew << 3) | vlmul); in TestVleXX()
746 for (uint8_t vlmul = 0; vlmul < vlmul_max; ++vlmul) { in TestVseXX() local
[all …]
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc524 for (uint8_t vlmul = 0; vlmul < 8; ++vlmul) { in TestVectorInstructionInternal() local
528 if (vlmul == 3) { in TestVectorInstructionInternal()
534 uint64_t vtype = (vma << 7) | (vta << 6) | (vsew << 3) | vlmul; in TestVectorInstructionInternal()
542 (vlmul + (kTestVectorInstructionMode == TestVectorInstructionMode::kWidening)) & in TestVectorInstructionInternal()
742 uint8_t vlmul, in TestVectorReductionInstruction()
746 uint64_t vtype = (vma << 7) | (vta << 6) | (vsew << 3) | vlmul; in TestVectorReductionInstruction()
793 for (int vlmul = 0; vlmul < 8; vlmul++) { in TestVectorReductionInstruction() local
796 vlmul, in TestVectorReductionInstruction()
797 std::get<0>(expected_result)[vlmul]), in TestVectorReductionInstruction()
800 vlmul, in TestVectorReductionInstruction()
[all …]