Horizontal Functions.
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::hadd (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Horizontally adds adjacent elements of two Vec's.
|
|
template<typename T , size_t SIMD_WIDTH> |
static T | simd::hadd (const Vec< T, SIMD_WIDTH > &v) |
| Adds all elements of a Vec.
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::hadd (const Vec< T, SIMD_WIDTH > v[Vec< T, SIMD_WIDTH >::elems]) |
| Sums the elements of multiple Vec's independently and returns a Vec with the results.
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::hadds (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Horizontally adds adjacent elements of two Vec's with saturation.
|
|
template<typename T , size_t SIMD_WIDTH> |
static T | simd::hadds (const Vec< T, SIMD_WIDTH > &v) |
| Adds all elements of a Vec using saturated arithmetic.
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::hadds (const Vec< T, SIMD_WIDTH > v[Vec< T, SIMD_WIDTH >::elems]) |
| Sums the elements of multiple Vec's independently using saturated arithmetic and returns a Vec with the results.
|
|
template<typename T , size_t SIMD_WIDTH> |
static T | simd::hmax (const Vec< T, SIMD_WIDTH > &v) |
| Calculates the maximum of all elements of a Vec.
|
|
template<typename T , size_t SIMD_WIDTH> |
static T | simd::hmin (const Vec< T, SIMD_WIDTH > &v) |
| Calculates the minimum of all elements of a Vec.
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::hsub (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Horizontally subtracts adjacent elements of two Vec's.
|
|
template<typename T , size_t SIMD_WIDTH> |
static Vec< T, SIMD_WIDTH > | simd::hsubs (const Vec< T, SIMD_WIDTH > &a, const Vec< T, SIMD_WIDTH > &b) |
| Horizontally subtracts adjacent elements of two Vec's with saturation.
|
|
template<typename T , size_t SIMD_WIDTH> |
static simd::Vec< T, SIMD_WIDTH > | simd::integrate (const simd::Vec< T, SIMD_WIDTH > &v) |
| Integrates the values of a Vec.
|
|