T-SIMD v31.1.0
A C++ template SIMD library
|
Operators for Vec's.
Functions | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator!= (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Not equal to operator. Maps to cmpneq(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator& (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Bitwise AND operator. Maps to bit_and(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator&= (Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Bitwise AND assignment operator. Maps to bit_and(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator* (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Multiplication operator. Maps to mul(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator*= (Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Multiplication assignment operator. Maps to mul(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator+ (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Addition operator. Maps to adds(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator+= (Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Addition assignment operator. Maps to adds(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator- (const Vec< T, SIMD_WIDTH > &a) |
Negation operator. Maps to neg(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator- (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Subtraction operator. Maps to subs(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator-= (Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Subtraction assignment operator. Maps to subs(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator/ (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Division operator. Maps to div(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator/= (Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Division assignment operator. Maps to div(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator< (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Less than operator. Maps to cmplt(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator<= (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Less than or equal operator. Maps to cmple(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator== (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Equal to operator. Maps to cmpeq(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator> (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Greater than operator. Maps to cmpgt(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator>= (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Greater than or equal operator. Maps to cmpge(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator^ (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Bitwise XOR operator. Maps to bit_xor(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator^= (Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Bitwise XOR assignment operator. Maps to bit_xor(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator| (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Bitwise OR operator. Maps to bit_or(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator|= (Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
Bitwise OR assignment operator. Maps to bit_or(). | |
template<typename T , size_t SIMD_WIDTH> | |
static Vec< T, SIMD_WIDTH > | simd::operator~ (const Vec< T, SIMD_WIDTH > &a) |
Bitwise NOT operator. Maps to bit_not(). | |