35 #ifndef _BLAZE_MATH_SIMD_TRUNC_H_ 36 #define _BLAZE_MATH_SIMD_TRUNC_H_ 66 template<
typename T >
68 #if BLAZE_SVML_MODE && ( BLAZE_AVX512F_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_AVX512F_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 );
Namespace of the Blaze C++ math library.
Definition: Blaze.h:58
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition: Inline.h:85
decltype(auto) trunc(const DenseMatrix< MT, SO > &dm)
Applies the trunc() function to each single element of the dense matrix dm.
Definition: DMatMapExpr.h:1268
decltype(auto) eval(const DenseMatrix< MT, SO > &dm)
Forces the evaluation of the given dense matrix expression dm.
Definition: DMatEvalExpr.h:786
Header file for the basic SIMD types.
System settings for the SSE mode.
System settings for the inline keywords.