Skip to main content

## _mm256_mask_fmsub_ph

# Function _mm256_mask_fmsub_ph

1.94.0 (const: unstable) · Source

    pub fn _mm256_mask_fmsub_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, subtract packed elements in c 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