Home
last modified time | relevance | path

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

/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/
Dvector_intrinsics.h149 constexpr ResultType kElementsCount{ in SimdMaskToBitMaskForTests()
151 for (ResultType index{0}; index < kElementsCount; index += ResultType{1}) { in SimdMaskToBitMaskForTests()
173 constexpr size_t kElementsCount = sizeof(SIMD128Register) / sizeof(ElementType); in VectorMaskedElementToForTests() local
174 for (size_t index = 0; index < kElementsCount; ++index) { in VectorMaskedElementToForTests()
216 constexpr size_t kElementsCount = sizeof(SIMD128Register) / sizeof kDefaultElement; in VectorBroadcastForTests() local
218 for (size_t index = 0; index < kElementsCount; ++index) { in VectorBroadcastForTests()
235 constexpr int kElementsCount = static_cast<int>(sizeof(SIMD128Register) / sizeof kDefaultElement); in VectorMasking() local
242 if (vl > kElementsCount) { in VectorMasking()
243 vl = kElementsCount; in VectorMasking()
247 if (vl != kElementsCount) [[unlikely]] { in VectorMasking()
[all …]
/frameworks/libs/binary_translation/interpreter/riscv64/
Dinterpreter_test.cc183 constexpr size_t kElementsCount = sizeof(SIMD128Register) / sizeof(IndexElementType); in VlxsegXeiXX() local
190 for (size_t reg_no = 0; reg_no < AlignUp<kElementsCount>(kTotalElements) / kElementsCount; in VlxsegXeiXX()
193 for (size_t index = 0; index < kElementsCount; ++index) { in VlxsegXeiXX()
195 kPermutedIndexes[index + reg_no * kElementsCount] * in VlxsegXeiXX()
231 constexpr int kElementsCount = static_cast<int>(16 / sizeof(ElementType)); in TestVectorLoad() local
233 for (uint8_t vstart = 0; vstart <= kElementsCount * kLmul; ++vstart) { in TestVectorLoad()
234 for (uint8_t vl = 0; vl <= kElementsCount * kLmul; ++vl) { in TestVectorLoad()
260 for (size_t element = 0; element < kElementsCount; ++element) { in TestVectorLoad()
268 } else if (element + index * kElementsCount < std::min(vstart, vl)) { in TestVectorLoad()
272 } else if (element + index * kElementsCount >= vl) { in TestVectorLoad()
[all …]
Dinterpreter.h472 constexpr size_t kElementsCount = sizeof(SIMD128Register) / sizeof(ElementType); in GetVlmax() local
475 return kElementsCount; in GetVlmax()
477 return 2 * kElementsCount; in GetVlmax()
479 return 4 * kElementsCount; in GetVlmax()
481 return 8 * kElementsCount; in GetVlmax()
483 return kElementsCount / 8; in GetVlmax()
485 return kElementsCount / 4; in GetVlmax()
487 return kElementsCount / 2; in GetVlmax()
926 constexpr size_t kElementsCount = sizeof(SIMD128Register) / sizeof(IndexElementType); in OpVector() local
928 IndexElementType indexes[kElementsCount * kIndexRegistersInvolved]; in OpVector()
[all …]