|
| template<class T> |
| T | cneg (T x, T signs) |
| | Conditionally negates the sign bit of x, depending on signs, which should contain only ±0 (i.e.
|
| template<class T, class Abi> |
| T | cneg (T x, T signs) |
| | Conditionally negates the sign bit of x, depending on signs, which should contain only ±0 (i.e.
|
| template<class T, class Abi> |
| datapar::simd< T, Abi > | cneg (datapar::simd< T, Abi > x, datapar::simd< T, Abi > signs) |
| | Conditionally negates the sign bit of x, depending on signs, which should contain only ±0 (i.e.
|
|
| template<class T, class AbiT, class I, class AbiI> |
| datapar::simd< T, AbiT > | gather (datapar::simd< T, AbiT > src, typename datapar::simd< T, AbiT >::mask_type mask, datapar::simd< I, AbiI > vindex, const T *base_addr) |
| template<std::integral I> |
| auto | convert_int (I i) |
| template<class T, class AbiT, class M> |
| mask_type_t< T, AbiT > | convert_mask (M mask) |
| | Convert a SIMD mask to the appropriate intrinsic type.
|
| template<class T, class Abi> |
| auto | compare_ge_0 (datapar::simd< T, Abi > x) |
| template<class F, class Abi> |
| datapar::simd< F, Abi > | rot (datapar::simd< F, Abi > x, int s) |
| | Rotate the elements of x to the right by s positions.
|
| template<int S, class F, class Abi> |
| datapar::simd< F, Abi > | rotl (datapar::simd< F, Abi > x) |
| template<int S, class F, class Abi> |
| datapar::simd< F, Abi > | rotr (datapar::simd< F, Abi > x) |
| template<int S, class F, class Abi> |
| datapar::simd< F, Abi > | shiftl (datapar::simd< F, Abi > x) |
| template<int S, class F, class Abi> |
| datapar::simd< F, Abi > | shiftr (datapar::simd< F, Abi > x) |
| template<class T, class Abi> |
| datapar::simd< T, Abi > | rsqrt_1 (datapar::simd< T, Abi > x) |
| | rsqrt_0 with a single Newton iteration of refinement.
|
| template<class T, class Abi> |
| datapar::simd< T, Abi > | rsqrt_2 (datapar::simd< T, Abi > x) |
| | rsqrt_0 with two Newton iterations of refinement.
|
template<class T, class AbiT, class M>
| mask_type_t< T, AbiT > batmat::ops::detail::convert_mask |
( |
M | mask | ) |
|
|
inline |
Convert a SIMD mask to the appropriate intrinsic type.
If M is not a mask type, its values are compared to zero to create a mask.
Definition at line 21 of file mask.hpp.
template<class F, class Abi>
Rotate the elements of x to the right by s positions.
For example, rotr<1>([x0, x1, x2, x3]) == [x3, x0, x1, x2] and rotr<-1>([x0, x1, x2, x3]) == [x1, x2, x3, x0].
Definition at line 18 of file rotate.hpp.