T-SIMD v31.1.0
A C++ template SIMD library
|
Bitwise shift functions on Vec's.
Functions | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::sll (const Vec< T, SIMD_WIDTH > &a, const uint8_t count) |
Shifts the elements of a Vec left by a variable number of bits while shifting in zeros. | |
template<size_t COUNT, typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::slli (const Vec< T, SIMD_WIDTH > &a) |
Shifts the elements of a Vec left by a constant number of bits while shifting in zeros. | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::sra (const Vec< T, SIMD_WIDTH > &a, const uint8_t count) |
Shifts the elements of a Vec right by a variable number of bits while shifting in the sign bit. | |
template<size_t COUNT, typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::srai (const Vec< T, SIMD_WIDTH > &a) |
Shifts the elements of a Vec right by a constant number of bits while shifting in the sign bit. | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::srl (const Vec< T, SIMD_WIDTH > &a, const uint8_t count) |
Shifts the elements of a Vec right by a variable number of bits while shifting in zeros. | |
template<size_t COUNT, typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::srli (const Vec< T, SIMD_WIDTH > &a) |
Shifts the elements of a Vec right by a constant number of bits while shifting in zeros. | |