Template Function wt::m::selectv

Function Documentation

template<Quantity Q, std::size_t W, std::size_t N>
inline auto wt::m::selectv(const wide_vector<W, N, Q> &a, const wide_vector<W, N, Q> &b, const wide_vector<W, N, simd::bool_mask> &mask) noexcept

This implements the AVX blendv op. Selects from a and b using the boolean mask mask.