Generic wrapper for the elementwise left-shift operation.
More...
#include <ShiftLV.h>
|
| template<typename T1, typename T2> |
| BLAZE_ALWAYS_INLINE decltype(auto) | operator() (T1 &&a, T2 &&b) const |
| | Returns the result of the elementwise left-shift operation for the given objects/values.
|
| template<typename T1, typename T2> |
| BLAZE_ALWAYS_INLINE decltype(auto) | load (const T1 &a, const T2 &b) const |
| | Returns the result of the elementwise left-shift operation for the given SIMD vector.
|
|
| template<typename T1, typename T2> |
| static constexpr bool | simdEnabled () |
| | Returns whether SIMD is enabled for the specified data types T1 and T2.
|
| static constexpr bool | paddingEnabled () |
| | Returns whether the operation supports padding, i.e. whether it can deal with zeros.
|
Generic wrapper for the elementwise left-shift operation.
◆ load()
template<typename T1, typename T2>
Returns the result of the elementwise left-shift operation for the given SIMD vector.
- Parameters
-
| a | The SIMD vector to be shifted. |
| b | The SIMD vector of bits to shift. |
- Returns
- The result of the elementwise left-shift operation for the given SIMD vector.
◆ operator()()
template<typename T1, typename T2>
Returns the result of the elementwise left-shift operation for the given objects/values.
- Parameters
-
| a | The given object/value to be shifted. |
| b | The number of bits to shift. |
- Returns
- The result of the elementwise left-shift operation for the given objects/values.
◆ paddingEnabled()
| constexpr bool blaze::ShiftLV::paddingEnabled |
( |
| ) |
|
|
inlinestaticconstexpr |
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
- Returns
- true in case padding is supported, false if not.
◆ simdEnabled()
template<typename T1, typename T2>
| constexpr bool blaze::ShiftLV::simdEnabled |
( |
| ) |
|
|
inlinestaticconstexpr |
Returns whether SIMD is enabled for the specified data types T1 and T2.
- Returns
- true in case SIMD is enabled for the data types T1 and T2, false if not.
The documentation for this struct was generated from the following file: