Intel xvec
Experimental C++ simd class library
Loading...
Searching...
No Matches
C++26: Exposition-only mask selection

Implementation helpers for element-wise conditional selection. More...

Friends

constexpr basic_mask xvec::simd::basic_mask< _Bytes, _Abi >::simd_select_impl (const basic_mask &m, const basic_mask &if_true, const basic_mask &if_false) noexcept
 Implementation of element-wise selection between two masks.
constexpr basic_mask xvec::simd::basic_mask< _Bytes, _Abi >::simd_select_impl (const basic_mask &m, std::same_as< bool > auto if_true, std::same_as< bool > auto if_false) noexcept
 Implementation of selection between two broadcast boolean values.
template<vec_type _Tp>
requires (sizeof(_Tp) == _Bytes)
constexpr _Tp xvec::simd::basic_mask< _Bytes, _Abi >::simd_select_impl (const basic_mask &m, const _Tp &if_true, const _Tp &if_false) noexcept
 Implementation of element-wise vector selection using a mask.

Detailed Description

Implementation helpers for element-wise conditional selection.

See also
https://eel.is/c++draft/simd.mask.cond