|
Intel xvec
Experimental C++ simd class library
|
Create a mask with a specified number of leading true elements. More...
Functions | |
| template<typename _Vp> | |
| constexpr auto | xvec::simd::mask_from_count (simd_size_type n) noexcept |
| Generate a mask with its first n elements set to true. | |
Create a mask with a specified number of leading true elements.
Proposed in P3440 for uses such as handling loop remainders.
|
constexprnoexcept |
Generate a mask with its first n elements set to true.
| _Vp | The vector type whose mask is returned, or a scalar type for a boolean result. |
| n | The number of elements to set. Counts larger than the mask width set every element. |