Home
last modified time | relevance | path

Searched refs:vstart (Results 1 – 6 of 6) sorted by relevance

/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc122 state_.cpu.vstart = 0; in TestFPExceptions()
130 state_.cpu.vstart = 1; in TestFPExceptions()
138 state_.cpu.vstart = 0; in TestFPExceptions()
233 for (uint8_t vstart = 0; vstart <= kElementsCount * kLmul; ++vstart) { in TestVectorLoad() local
241 state_.cpu.vstart = vstart; in TestVectorLoad()
256 EXPECT_EQ(state_.cpu.vstart, 0); in TestVectorLoad()
262 if (vstart >= vl) { in TestVectorLoad()
268 } else if (element + index * kElementsCount < std::min(vstart, vl)) { in TestVectorLoad()
317 for (uint8_t vstart = 0; vstart <= kElementsCount; ++vstart) { in TestVlm() local
323 state_.cpu.vstart = vstart; in TestVlm()
[all …]
Dinterpreter.h1046 size_t vstart = GetCsr<CsrName::kVstart>(); variable
1056 if (vstart >= vl) [[unlikely]] {
1060 vstart = std::min(vstart, vl);
1070 for (size_t within_group_id = vstart / kElementsCount; within_group_id < kNumRegistersInGroup;
1084 if (vstart ||
1094 for (size_t within_register_id = vstart % kElementsCount; within_register_id < kElementsCount;
1162 if (vstart) [[unlikely]] {
1164 intrinsics::MakeBitmaskFromVl<ElementType>(vstart % kElementsCount));
1199 vstart = 0;
1224 size_t vstart = GetCsr<CsrName::kVstart>(); in OpVectorGather() local
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h233 int vstart, in VectorMasking() argument
236 if (vstart < 0) { in VectorMasking()
237 vstart = 0; in VectorMasking()
246 if (vstart == 0) [[likely]] { in VectorMasking()
251 } else if (vstart >= vl) [[unlikely]] { in VectorMasking()
258 CHECK_LT(vstart, vl); in VectorMasking()
259 const auto [start_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vstart); in VectorMasking()
265 if (vstart == 0) [[likely]] { in VectorMasking()
270 } else if (vstart >= vl) [[unlikely]] { in VectorMasking()
277 CHECK_LT(vstart, vl); in VectorMasking()
[all …]
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc334 uint64_t vstart, vl; in RunTwoVectorArgsOneRes() local
355 : [vstart] "=&r"(vstart), [vl] "=&r"(vl) in RunTwoVectorArgsOneRes()
390 EXPECT_EQ(vstart, 0); in RunTwoVectorArgsOneRes()
408 uint64_t vstart, in RunCommonVectorFunc() argument
446 : [vstart] "=r"(vstart), [vl] "=r"(vl) in RunCommonVectorFunc()
451 "0"(vstart), in RunCommonVectorFunc()
487 EXPECT_EQ(vstart, 0); in RunCommonVectorFunc()
550 uint64_t vstart; in TestVectorInstructionInternal() local
553 vstart = vlmax / 8; in TestVectorInstructionInternal()
556 vstart = 0; in TestVectorInstructionInternal()
[all …]
/frameworks/libs/native_bridge_support/guest_state/include/native_bridge_support/riscv64/guest_state/
Dguest_state_cpu_state.h44 uint8_t vstart; member
/frameworks/libs/binary_translation/guest_state/riscv64/include/berberis/guest_state/
Dguest_state_arch.h56 BERBERIS_RISV64_PROCESS_CSR(Vstart, vstart, 0b01111111) \