Skip to main content

## _mm256_mask_rsqrt_ph

# Function _mm256_mask_rsqrt_ph

1.94.0 · Source

    pub fn _mm256_mask_rsqrt_ph(src: __m256h, k: __mmask16, a: __m256h) -> __m256h

Available on x86-64 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