batmat main
Batched linear algebra routines
Loading...
Searching...
No Matches
rotate.hpp File Reference
#include <batmat/simd.hpp>
#include <cassert>

Go to the source code of this file.

Lane-wise rotations of SIMD vectors

template<int S, class F, class Abi>
datapar::simd< F, Abi > batmat::ops::rotl (datapar::simd< F, Abi > x)
 Rotates the elements of x by s positions to the left.
template<int S, class F, class Abi>
datapar::simd< F, Abi > batmat::ops::rotr (datapar::simd< F, Abi > x)
 Rotate the elements of x to the right by S positions.
template<int S, class F, class Abi>
datapar::simd< F, Abi > batmat::ops::shiftl (datapar::simd< F, Abi > x)
 Shift the elements of x to the left by S positions, shifting in zeros.
template<int S, class F, class Abi>
datapar::simd< F, Abi > batmat::ops::shiftr (datapar::simd< F, Abi > x)
 Shift the elements of x to the right by S positions, shifting in zeros.
template<class F, class Abi>
datapar::simd< F, Abi > batmat::ops::rot (datapar::simd< F, Abi > x, int s)
 Rotate the elements of x to the right by s positions.

Namespaces

namespace  batmat
namespace  batmat::ops
namespace  batmat::ops::detail

Functions

template<class F, class Abi>
datapar::simd< F, Abi > batmat::ops::detail::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 > batmat::ops::detail::rotl (datapar::simd< F, Abi > x)
template<int S, class F, class Abi>
datapar::simd< F, Abi > batmat::ops::detail::rotr (datapar::simd< F, Abi > x)
template<int S, class F, class Abi>
datapar::simd< F, Abi > batmat::ops::detail::shiftl (datapar::simd< F, Abi > x)
template<int S, class F, class Abi>
datapar::simd< F, Abi > batmat::ops::detail::shiftr (datapar::simd< F, Abi > x)