Template Function wt::m::select¶
Defined in File math.hpp
Function Documentation¶
-
template<int imm, Quantity Q, std::size_t W, std::size_t N>
inline auto wt::m::select(const wide_vector<W, N, Q> &a, const wide_vector<W, N, Q> &b) noexcept¶ This implements the AVX
blend
op. Selects froma
andb
using the immediate control maskimm
. Each bit of the control mask selects the corresponding component froma
orb
.