Defined in Header
#include <eve/module/core.hpp>
As any named shuffle, allows to pass a group size, to treat multiple elements as one. Group size has to be 0 < G <= T::size()
template <simd_value T, std::ptrdiff_t G>
template <simd_value T>
constexpr auto reverse
a named shuffle for reversing a register.
Definition reverse.hpp:134
SIMD register cardinal type.
Definition cardinal.hpp:15
Parameters
- x - simd_value to shuffle
- G - (optional) - number of elements to treat as one.
(2) calls (1) with G == 1; (1) reverses positions of adjacent groups of elements of size G
Return value
Return x where groups of contiguous G elements are reversed.
#include <eve/module/core.hpp>
#include <tts/tts.hpp>
int main()
{
w_t x {0, 1, 2, 3};
}
constexpr callable_all_ all
Computes a bool value which is true if and only if all elements of x are not zero.
Definition all.hpp:58
Wrapper for SIMD registers.
Definition wide.hpp:70