35 #ifndef _BLAZE_MATH_INTRINSICS_ABS_H_
36 #define _BLAZE_MATH_INTRINSICS_ABS_H_
64 inline sse_int8_t
abs(
const sse_int8_t& a )
66 return _mm256_abs_epi8( a.value );
68 #elif BLAZE_SSSE3_MODE
69 inline sse_int8_t
abs(
const sse_int8_t& a )
71 return _mm_abs_epi8( a.value );
86 inline sse_int16_t
abs(
const sse_int16_t& a )
88 return _mm256_abs_epi16( a.value );
90 #elif BLAZE_SSSE3_MODE
91 inline sse_int16_t
abs(
const sse_int16_t& a )
93 return _mm_abs_epi16( a.value );
108 inline sse_int32_t
abs(
const sse_int32_t& a )
110 return _mm256_abs_epi32( a.value );
112 #elif BLAZE_SSSE3_MODE
113 inline sse_int32_t
abs(
const sse_int32_t& a )
115 return _mm_abs_epi32( a.value );
const DMatAbsExpr< MT, SO > abs(const DenseMatrix< MT, SO > &dm)
Returns a matrix containing the absolute values of each single element of dm.
Definition: DMatAbsExpr.h:903
Header file for the basic intrinsic types.
System settings for the SSE mode.