## _mm256_mask_fmsubadd_ph

# Function _mm256_mask_fmsubadd_ph

1.94.0 (const: unstable) · Source

    pub fn _mm256_mask_fmsubadd_ph(
        a: __m256h,
        k: __mmask16,
        b: __m256h,
        c: __m256h,
    ) -> __m256h

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

Multiply packed half-precision (16-bit) floating-point elements in a and b, alternatively subtract and add packed elements in c to/from the intermediate result, and store the results in dst using writemask k (the element is copied from a when the corresponding mask bit is not set).

Intel’s documentation