Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h108 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() function
114 [[nodiscard]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() function
115 return MakeBitmaskFromVl(vl * sizeof(ElementType) * CHAR_BIT); in MakeBitmaskFromVl()
248 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking()
259 const auto [start_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vstart); in VectorMasking()
260 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking()
267 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking()
278 const auto [start_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vstart); in VectorMasking()
279 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking()
287 const auto [tail_bitmask] = MakeBitmaskFromVl<decltype(kDefaultElement)>(vl); in VectorMasking()
[all …]
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/
Dvector_intrinsics.h38 [[nodiscard, gnu::pure]] inline std::tuple<SIMD128Register> MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() function
/frameworks/libs/binary_translation/tests/inline_asm_tests/
Dmain_riscv64.cc295 SIMD128 MakeBitmaskFromVl(size_t vl) { in MakeBitmaskFromVl() function
1112 skip_mask[index] = ~MakeBitmaskFromVl(skip_bits > 128 ? 128 : skip_bits); in TestVectorPermutationInstruction()
1160 const auto mask_for_vl = MakeBitmaskFromVl(last_elem * kElementSize * 8); in TestVectorPermutationInstruction()
1344 expected_result_in_register |= MakeBitmaskFromVl(vl); in TestVectorMaskTargetInstruction()
1347 const SIMD128 start_mask = MakeBitmaskFromVl(vstart); in TestVectorMaskTargetInstruction()
/frameworks/libs/binary_translation/intrinsics/riscv64/
Dvector_intrinsics_test.cc59 TEST(VectorIntrinsics, MakeBitmaskFromVl) { in TEST() argument
61 ASSERT_EQ(MakeBitmaskFromVlForTests(vl), MakeBitmaskFromVl(vl)); in TEST()
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter.h1143 return std::get<0>(intrinsics::MakeBitmaskFromVl<ElementType>(
1164 intrinsics::MakeBitmaskFromVl<ElementType>(vstart % kElementsCount));
3087 const auto [tail_mask] = intrinsics::MakeBitmaskFromVl(vl); in OpVectorVWXUnary0()
3107 const auto [start_mask] = intrinsics::MakeBitmaskFromVl(vstart); in OpVectormm()
3113 const auto [tail_mask] = intrinsics::MakeBitmaskFromVl(vl); in OpVectormm()
3136 const auto [tail_mask] = intrinsics::MakeBitmaskFromVl(vl); in OpVectorVMUnary0()
3246 const auto [start_mask] = intrinsics::MakeBitmaskFromVl(vstart); in OpVectorToMask()
3251 const auto [tail_mask] = intrinsics::MakeBitmaskFromVl(vl); in OpVectorToMask()
Dinterpreter_test.cc1480 intrinsics::MakeBitmaskFromVl((vlmul == 2) ? (vlmax * 5) / 8 : vlmax)); in TestVectorMaskTargetInstruction()
1482 const auto [start_mask] = intrinsics::MakeBitmaskFromVl(vlmax / 8); in TestVectorMaskTargetInstruction()
1771 ~std::get<0>(intrinsics::MakeBitmaskFromVl(skip_bits > 128 ? 128 : skip_bits)); in TestVectorPermutationInstruction()
1815 const auto [mask_for_vl] = intrinsics::MakeBitmaskFromVl(last_elem * kElementSize * 8); in TestVectorPermutationInstruction()