Commit c3b60fef authored by Berenger Bramas's avatar Berenger Bramas

Update 512 KNL -- avoid conversion of 1 into vec type inside the class

parent 8c93a0c9
......@@ -354,7 +354,7 @@ public:
inline InaVecAVX512KNL rsqrt() const {
// _mm512_rsqrt28_pd(vec) => 1E-10 error
return 1 / _mm512_sqrt_pd(vec);
return _mm512_set1_pd(1) / _mm512_sqrt_pd(vec);
}
inline InaVecAVX512KNL abs() const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment