35 #ifndef _BLAZE_MATH_SIMD_TRUNC_H_ 36 #define _BLAZE_MATH_SIMD_TRUNC_H_ 66 template<
typename T >
68 #if BLAZE_SVML_MODE && BLAZE_MIC_MODE 70 return _mm512_trunc_ps( (~a).
eval().value );
72 #elif BLAZE_SVML_MODE && BLAZE_AVX_MODE 74 return _mm256_trunc_ps( (~a).
eval().value );
76 #elif BLAZE_SVML_MODE && BLAZE_SSE_MODE 78 return _mm_trunc_ps( (~a).
eval().value );
104 template<
typename T >
106 #if BLAZE_SVML_MODE && BLAZE_MIC_MODE 108 return _mm512_trunc_pd( (~a).
eval().value );
110 #elif BLAZE_SVML_MODE && BLAZE_AVX_MODE 112 return _mm256_trunc_pd( (~a).
eval().value );
114 #elif BLAZE_SVML_MODE && BLAZE_SSE_MODE 116 return _mm_trunc_pd( (~a).
eval().value );
const DMatForEachExpr< MT, Trunc, SO > trunc(const DenseMatrix< MT, SO > &dm)
Applies the trunc() function to each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1158
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
Header file for the basic SIMD types.
const DMatEvalExpr< MT, SO > eval(const DenseMatrix< MT, SO > &dm)
Forces the evaluation of the given dense matrix expression dm.
Definition: DMatEvalExpr.h:703
System settings for the SSE mode.
System settings for the inline keywords.