Please enter what you're looking for to continue your search
 

_mm512_rsqrt14_pd
ADD TO COMPARE ADDED TO COMPARE

Purpose:
Compute the approximate reciprocal square root of packed double-precision (64-bit) floating-point elements in "a", and store the results in "dst". The maximum relative error for this approximation is less than 2^-14.
Result:

__m512d

Example:
#include <immintrin.h>
#include <stdio.h>
int main() {
 __m512d a = _mm512_setr_pd(1.0, 4.0, 9.0, 16.0, 25.0, 36.0, 49.0, 64.0);
 __m512d result = _mm512_rsqrt14_pd(a);
 double* res = (double*)&result;
 for (int i = 0; i < 8; i++)
  printf("%f\n", res[i]);
 }

Prototypes

Assembly Instruction:
VRSQRT14PD
Usage:
__m512d output = _mm512_rsqrt14_pd( __m512d a )
DB statistics
SIMD Engines: 5
C Intrinsics: 10702
NEON: 4232
AVX2: 462
AVX512: 4955
SSE4.2: 652
VSX: 401