35 #ifndef _BLAZE_MATH_SIMD_ABS_H_
36 #define _BLAZE_MATH_SIMD_ABS_H_
68 return _mm256_abs_epi8( a.value );
70 #elif BLAZE_SSSE3_MODE
72 return _mm_abs_epi8( a.value );
100 return _mm256_abs_epi16( a.value );
102 #elif BLAZE_SSSE3_MODE
104 return _mm_abs_epi16( a.value );
132 return _mm512_abs_epi32( a.value );
134 #elif BLAZE_AVX2_MODE
136 return _mm256_abs_epi32( a.value );
138 #elif BLAZE_SSSE3_MODE
140 return _mm_abs_epi32( a.value );
168 return _mm512_abs_epi64( a.value );
Namespace of the Blaze C++ math library.
Definition: Blaze.h:57
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
const DMatForEachExpr< MT, Abs, SO > abs(const DenseMatrix< MT, SO > &dm)
Applies the abs() function to each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1074
Header file for the basic SIMD types.
System settings for the SSE mode.
System settings for the inline keywords.