Function core::arch::x86::_mm256_mask_maddubs_epi16[][src]

pub unsafe fn _mm256_mask_maddubs_epi16(
    src: __m256i,
    k: __mmask16,
    a: __m256i,
    b: __m256i
) -> __m256i
🔬 This is a nightly-only experimental API. (stdsimd #48556)
This is supported on x86 and target feature avx512bw,avx512vl only.
Expand description

将 a 中的包装无符号 8 位整数与 b 中的包装有符号 8 位整数相乘,生成中间有符号的 16 位整数。水平相加相邻的中间带符号的 16 位整数对,并使用写掩码 k 将饱和结果包装到 dst 中 (当未设置相应的掩码位时,元素将从 src 复制)。

Intel’s documentation