## _mm_mask_rsqrt_ph

# Function _mm_mask_rsqrt_ph

1.94.0 · Source

    pub fn _mm_mask_rsqrt_ph(src: __m128h, k: __mmask8, a: __m128h) -> __m128h

Available on x86 and target feature `avx512fp16` and target feature `avx512vl` only.
Expand description

Compute the approximate reciprocal square root of packed half-precision (16-bit) floating-point elements in a, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set). The maximum relative error for this approximation is less than `1.5*2^-12`.

Intel’s documentation