_mm256_mulhrs_epi16 in core::arch::x86 - Rust
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]`.
Keywords: rust, rustlang, rust-lang, _mm256_mulhrs_epi16

# Function core::arch::x86::_mm256_mulhrs_epi16
1.27.0[−][src]

    pub unsafe fn _mm256_mulhrs_epi16(a: __m256i, b: __m256i) -> __m256i

This is supported on x86 and target feature `avx2` 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