Function core::arch::x86_64::_mm256_mulhrs_epi16

1.27.0 · source ·
pub unsafe fn _mm256_mulhrs_epi16(a: __m256i, b: __m256i) -> __m256i
Available on (x86 or x86-64) and target feature avx2 and x86-64 only.
Expand description

ab 中的包装的 16 位整数相乘,生成中间带符号的 32 位整数。 将每个中间整数截断为 18 个最高有效位,再加 1 取整,然后返回 [16:1] 位。

Intel’s documentation