Intel xvec
Experimental C++ simd class library
Loading...
Searching...
No Matches
C++26: Unary mask operators

Apply unary operations to mask elements. More...

Functions

constexpr basic_mask xvec::simd::basic_mask< _Bytes, _Abi >::operator! () const noexcept
 Negate each boolean mask element.
constexpr traits::signed_vec_for_mask xvec::simd::basic_mask< _Bytes, _Abi >::operator+ () const noexcept
 Return a signed integral vector containing 1 for true elements and 0 otherwise.
constexpr traits::signed_vec_for_mask xvec::simd::basic_mask< _Bytes, _Abi >::operator- () const noexcept
 Return a signed integral vector containing -1 for true elements and 0 otherwise.
constexpr traits::signed_vec_for_mask xvec::simd::basic_mask< _Bytes, _Abi >::operator~ () const noexcept
 Return the element-wise bitwise complement of the vector produced by unary plus.

Detailed Description

Apply unary operations to mask elements.

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