|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::cmpeq (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Compares corresponding elements of two Vec's for equality ( == ).
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::cmpge (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Compares corresponding elements of two Vec's for greater-than-or-equal ( >= ).
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::cmpgt (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Compares corresponding elements of two Vec's for greater-than ( > ).
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::cmple (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Compares corresponding elements of two Vec's for less-than-or-equal ( <= ).
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::cmplt (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Compares corresponding elements of two Vec's for less-than ( < ).
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::cmpneq (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Compares corresponding elements of two Vec's for inequality ( != ).
|
|
template<typename Tcond , typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::ifelse (const Vec< Tcond, SIMD_WIDTH > &cond, const Vec< T, SIMD_WIDTH > &trueVal, const Vec< T, SIMD_WIDTH > &falseVal) |
| Selects elements from two Vec's based on a condition Vec.
|
|
template<typename T , size_t SIMD_WIDTH> |
static bool | simd::test_all_ones (const Vec< T, SIMD_WIDTH > &a) |
| Tests if all bits of a Vec are one.
|
|
template<typename T , size_t SIMD_WIDTH> |
static bool | simd::test_all_zeros (const Vec< T, SIMD_WIDTH > &a) |
| Tests if all bits of a Vec are zero.
|
|