knc.h: Fixed __rsqrt_varying_float() to use _mm512_invsqrt_ps() instead of _mm512_invsqrt_pd()

This was a typo.
This commit is contained in:
Jean-Luc Duprat
2012-11-21 15:40:35 -08:00
parent a267762f59
commit 2129b1e27d

View File

@@ -1959,7 +1959,7 @@ static FORCEINLINE __vec16_f __rsqrt_varying_float(__vec16_f v) {
#ifdef ISPC_FAST_MATH #ifdef ISPC_FAST_MATH
return _mm512_rsqrt23_ps(v); // Approximation with 0.775ULP accuracy return _mm512_rsqrt23_ps(v); // Approximation with 0.775ULP accuracy
#else #else
return _mm512_invsqrt_pd(v); return _mm512_invsqrt_ps(v);
#endif #endif
} }