35 #ifndef _BLAZE_MATH_SIMD_FLOOR_H_
36 #define _BLAZE_MATH_SIMD_FLOOR_H_
66 template<
typename T >
68 #if BLAZE_SVML_MODE && BLAZE_MIC_MODE
70 return _mm512_floor_ps( (~a).
eval().value );
74 return _mm256_floor_ps( (~a).
eval().value );
78 return _mm_floor_ps( (~a).
eval().value );
104 template<
typename T >
106 #if BLAZE_SVML_MODE && BLAZE_MIC_MODE
108 return _mm512_floor_pd( (~a).
eval().value );
112 return _mm256_floor_pd( (~a).
eval().value );
114 #elif BLAZE_SSE4_MODE
116 return _mm_floor_pd( (~a).
eval().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, Floor, SO > floor(const DenseMatrix< MT, SO > &dm)
Applies the floor() function to each single element of the dense matrix dm.
Definition: DMatForEachExpr.h:1102
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:705
System settings for the SSE mode.
System settings for the inline keywords.