35#ifndef _BLAZE_MATH_FUNCTORS_SHIFTRI_H_
36#define _BLAZE_MATH_FUNCTORS_SHIFTRI_H_
95 template<
typename T >
98 return std::forward<T>( a ) >>
count_;
107 template<
typename T >
108 static constexpr bool simdEnabled() {
return HasSIMDShiftRI_v<T>; }
125 template<
typename T >
151template<
typename T >
169template<
typename MT >
170struct YieldsSymmetric<ShiftRI,MT>
187template<
typename MT >
188struct YieldsLower<ShiftRI,MT>
205template<
typename MT >
206struct YieldsStrictlyLower<ShiftRI,MT>
207 :
public IsStrictlyLower<MT>
223template<
typename MT >
224struct YieldsUpper<ShiftRI,MT>
241template<
typename MT >
242struct YieldsStrictlyUpper<ShiftRI,MT>
243 :
public IsStrictlyUpper<MT>
259template<
typename T >
260struct YieldsZero<ShiftRI,T>
Header file for the HasSIMDShiftRI type trait.
Header file for the IsLower type trait.
Header file for the IsStrictlyLower type trait.
Header file for the IsStrictlyUpper type trait.
Header file for the IsSymmetric type trait.
Header file for the IsUpper type trait.
Header file for the YieldsLower type trait.
Header file for the YieldsStrictlyLower type trait.
Header file for the YieldsStrictlyUpper type trait.
Header file for the YieldsSymmetric type trait.
Header file for the YieldsUpper type trait.
Header file for the YieldsZero type trait.
Constraint on the data type.
#define BLAZE_CONSTRAINT_MUST_BE_SIMD_PACK(T)
Constraint on the data type.
Definition: SIMDPack.h:60
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
IntegralConstant< bool, B > BoolConstant
Generic wrapper for a compile time constant boolean value.
Definition: IntegralConstant.h:110
Header file for the SIMD right-shift functionality.
Generic wrapper for the uniform right-shift operation.
Definition: ShiftRI.h:77
int count_
The number of bits to shift.
Definition: ShiftRI.h:135
ShiftRI(int count)
Constructor of the ShiftRI functor.
Definition: ShiftRI.h:84
BLAZE_ALWAYS_INLINE decltype(auto) load(const T &a) const
Returns the result of the uniform right-shift operation for the given SIMD vector.
Definition: ShiftRI.h:126
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: ShiftRI.h:116
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data type T.
Definition: ShiftRI.h:108
System settings for the inline keywords.
Header file for the IsZero type trait.