Searched refs:simd_mask (Results 1 – 4 of 4) sorted by relevance
/frameworks/libs/binary_translation/intrinsics/riscv64_to_x86_64/include/berberis/intrinsics/ |
D | vector_intrinsics.h | 81 SIMD128Register simd_mask, in VectorMaskedElementTo() argument 85 return {src & simd_mask}; in VectorMaskedElementTo() 87 return {src | ~simd_mask}; in VectorMaskedElementTo() 91 ~simd_mask) | in VectorMaskedElementTo() 92 (src & simd_mask)}; in VectorMaskedElementTo() 100 SimdMaskToBitMask(SIMD128Register simd_mask) { in SimdMaskToBitMask() argument 102 return {RawInt16{static_cast<uint16_t>(_mm_movemask_epi8(simd_mask.Get<__m128i>()))}}; in SimdMaskToBitMask() 111 _mm_movemask_epi8(_mm_shuffle_epi8(simd_mask.Get<__m128i>(), kPMovmskXToPMovmskb)))}}; in SimdMaskToBitMask()
|
/frameworks/libs/binary_translation/intrinsics/riscv64/ |
D | vector_intrinsics_test.cc | 68 const auto [simd_mask] = BitMaskToSimdMask<Int8>(mask); in TEST() 69 ASSERT_EQ(SimdMaskToBitMaskForTests<Int8>(simd_mask), SimdMaskToBitMask<Int8>(simd_mask)); in TEST() 76 const auto [simd_mask] = BitMaskToSimdMask<Int16>(mask); in TEST() 77 ASSERT_EQ(SimdMaskToBitMaskForTests<Int16>(simd_mask), SimdMaskToBitMask<Int16>(simd_mask)); in TEST() 84 const auto [simd_mask] = BitMaskToSimdMask<Int32>(mask); in TEST() 85 ASSERT_EQ(SimdMaskToBitMaskForTests<Int32>(simd_mask), SimdMaskToBitMask<Int32>(simd_mask)); in TEST() 92 const auto [simd_mask] = BitMaskToSimdMask<Int64>(mask); in TEST() 93 ASSERT_EQ(SimdMaskToBitMaskForTests<Int64>(simd_mask), SimdMaskToBitMask<Int64>(simd_mask)); in TEST() 123 const auto [simd_mask] = BitMaskToSimdMask<decltype(kElement)>(mask); in TestVectorMaskedElementTo() 124 ASSERT_EQ(VectorMaskedElementToForTests<kElement>(simd_mask, src), in TestVectorMaskedElementTo() [all …]
|
/frameworks/libs/binary_translation/intrinsics/riscv64/include/berberis/intrinsics/riscv64/ |
D | vector_intrinsics.h | 146 SimdMaskToBitMaskForTests(SIMD128Register simd_mask) { in SimdMaskToBitMaskForTests() argument 152 if (simd_mask.Get<ElementType>(index) != ElementType{}) { in SimdMaskToBitMaskForTests() 163 SimdMaskToBitMask(SIMD128Register simd_mask) { in SimdMaskToBitMask() argument 164 return SimdMaskToBitMaskForTests<ElementType>(simd_mask); in SimdMaskToBitMask() 170 SIMD128Register simd_mask, in VectorMaskedElementToForTests() argument 175 if (!simd_mask.Get<ElementType>(index)) { in VectorMaskedElementToForTests() 184 [[nodiscard]] inline std::tuple<SIMD128Register> VectorMaskedElementTo(SIMD128Register simd_mask, in VectorMaskedElementTo() argument 186 return VectorMaskedElementToForTests(simd_mask, result); in VectorMaskedElementTo() 320 const auto [simd_mask] = BitMaskToSimdMask<decltype(kDefaultElement)>( 323 result |= ~simd_mask; [all …]
|
/frameworks/libs/binary_translation/interpreter/riscv64/ |
D | interpreter.h | 1150 auto [simd_mask] = 1166 result[field] |= vstart_mask & ~simd_mask; 1168 result[field] |= vstart_mask & ~simd_mask & ~GetTailMask(); 1170 result[field] |= vstart_mask & ~simd_mask; 1173 result[field] |= ~simd_mask; 1176 result[field] |= ~simd_mask & ~GetTailMask(); 1178 result[field] |= ~simd_mask;
|