T-SIMD v31.1.0
A C++ template SIMD library
Loading...
Searching...
No Matches
Masked Bitwise Shifts

Description

Masked bitwise shift functions on Vec's.

See also
Bitwise Shifts

Functions

template<size_t COUNT, typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::mask_slli (const Vec< T, SIMD_WIDTH > &src, const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Masked version of slli(const Vec<T, SIMD_WIDTH> &).
 
template<size_t COUNT, typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::mask_srai (const Vec< T, SIMD_WIDTH > &src, const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Masked version of srai(const Vec<T, SIMD_WIDTH> &).
 
template<size_t COUNT, typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::mask_srli (const Vec< T, SIMD_WIDTH > &src, const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Masked version of srli(const Vec<T, SIMD_WIDTH> &).
 
template<size_t COUNT, typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::maskz_slli (const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Zero-masked version of slli(const Vec<T, SIMD_WIDTH> &).
 
template<size_t COUNT, typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::maskz_srai (const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Zero-masked version of srai(const Vec<T, SIMD_WIDTH> &).
 
template<size_t COUNT, typename T , size_t SIMD_WIDTH>
static Vec< T, SIMD_WIDTH > simd::maskz_srli (const Mask< T, SIMD_WIDTH > &k, const Vec< T, SIMD_WIDTH > &a)
 Zero-masked version of srli(const Vec<T, SIMD_WIDTH> &).