_mm512_mask_adds_epi16 in core::arch::x86_64 - Rust
Description: Add packed signed 16-bit integers in a and b using saturation, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).

Skip to main content

## _mm512_mask_adds_epi16

# Function _mm512_mask_adds_epi16

1.89.0 (const: unstable) · Source

    pub fn _mm512_mask_adds_epi16(
        src: __m512i,
        k: __mmask32,
        a: __m512i,
        b: __m512i,
    ) -> __m512i

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

Add packed signed 16-bit integers in a and b using saturation, and store the results in dst using writemask k (elements are copied from src when the corresponding mask bit is not set).

Intel’s documentation