_mm256_rsqrt_ps
Classification
AVX_ALL, Elementary Math Functions, CPUID Test: AVX
Header File
Instruction
VRSQRTPS ymm, ymm
Synopsis
_mm256_rsqrt_ps(__m256 a);
Description
Compute the approximate reciprocal square root of packed single-precision (32-bit) floating-point elements in "a", and store the results in "dst". The maximum relative error for this approximation is less than 1.5*2^-12.
Operation
FOR j := 0 to 7
i := j*32
dst[i+31:i] := (1.0 / SQRT(a[i+31:i]))
ENDFOR
dst[MAX:256] := 0