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

Multiplies packed 16-bit integers in a and b, producing intermediate signed 32-bit integers. Truncate each intermediate integer to the 18 most significant bits, round by adding 1, and return bits [16:1].

Intel’s documentation

This documentation is an old archive. Please see https://rust.docs.kernel.org instead.