35 #ifndef _BLAZE_MATH_SIMD_DIVISION_H_
36 #define _BLAZE_MATH_SIMD_DIVISION_H_
67 operator/(
const SIMDint32& a,
const SIMDint32& b ) noexcept
70 return _mm512_div_epi32( a.value, b.value );
89 operator/(
const SIMDcint32& a,
const SIMDint32& b ) noexcept
92 return _mm512_div_epi32( a.value, b.value );
119 operator/(
const SIMDint64& a,
const SIMDint64& b ) noexcept
122 return _mm512_div_epi64( a.value, b.value );
141 operator/(
const SIMDcint64& a,
const SIMDint64& b ) noexcept
144 return _mm512_div_epi64( (~a).value, (~b).value );
170 template<
typename T1
173 operator/(
const SIMDf32<T1>& a,
const SIMDf32<T2>& b ) noexcept
176 return _mm512_div_ps( (~a).
eval().value, (~b).
eval().value );
180 return _mm256_div_ps( (~a).
eval().value, (~b).
eval().value );
184 return _mm_div_ps( (~a).
eval().value, (~b).
eval().value );
203 operator/(
const SIMDcfloat& a,
const SIMDfloat& b ) noexcept
206 return _mm512_div_ps( a.value, b.value );
210 return _mm256_div_ps( a.value, b.value );
214 return _mm_div_ps( a.value, b.value );
240 template<
typename T1
243 operator/(
const SIMDf64<T1>& a,
const SIMDf64<T2>& b ) noexcept
246 return _mm512_div_pd( (~a).
eval().value, (~b).
eval().value );
250 return _mm256_div_pd( (~a).
eval().value, (~b).
eval().value );
252 #elif BLAZE_SSE2_MODE
254 return _mm_div_pd( (~a).
eval().value, (~b).
eval().value );
273 operator/(
const SIMDcdouble& a,
const SIMDdouble& b ) noexcept
276 return _mm512_div_pd( a.value, b.value );
280 return _mm256_div_pd( a.value, b.value );
282 #elif BLAZE_SSE2_MODE
284 return _mm_div_pd( a.value, b.value );
const EnableIf_< IsNumeric< T2 >, DivExprTrait_< T1, T2 > > operator/(const DenseMatrix< T1, SO > &mat, T2 scalar)
Division operator for the division of a dense matrix by a scalar value ( ).
Definition: DMatScalarDivExpr.h:966
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:705
System settings for the SSE mode.
System settings for the inline keywords.