35#ifndef _BLAZE_MATH_FUNCTORS_BITXOR_H_
36#define _BLAZE_MATH_FUNCTORS_BITXOR_H_
76 template<
typename T1,
typename T2 >
79 return std::forward<T1>( a ) ^ std::forward<T2>( b );
88 template<
typename T1,
typename T2 >
89 static constexpr bool simdEnabled() {
return HasSIMDBitxor_v<T1,T2>; }
107 template<
typename T1,
typename T2 >
129template<
typename T1,
typename T2 >
130struct YieldsUniform<Bitxor,T1,T2>
131 :
public BoolConstant< IsUniform_v<T1> && IsUniform_v<T2> >
147template<
typename MT1,
typename MT2 >
148struct YieldsSymmetric<Bitxor,MT1,MT2>
149 :
public BoolConstant< IsSymmetric_v<MT1> && IsSymmetric_v<MT2> >
Header file for the HasSIMDBitxor type trait.
Header file for the IntegralConstant class template.
Header file for the IsSymmetric type trait.
Header file for the YieldsSymmetric 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 bitxor functionality.
Generic wrapper for the bitwise XOR ('^') operator.
Definition: Bitxor.h:68
static constexpr bool simdEnabled()
Returns whether SIMD is enabled for the specified data types T1 and T2.
Definition: Bitxor.h:89
BLAZE_ALWAYS_INLINE decltype(auto) load(const T1 &a, const T2 &b) const
Returns the result of the bitwise XOR operation for the given SIMD vectors.
Definition: Bitxor.h:108
static constexpr bool paddingEnabled()
Returns whether the operation supports padding, i.e. whether it can deal with zeros.
Definition: Bitxor.h:97
System settings for the inline keywords.