# Function core::arch::x86_64::_mm_mulhrs_epi16

1.27.0 · source · [−]

    pub unsafe fn _mm_mulhrs_epi16(a: __m128i, b: __m128i) -> __m128i

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

Multiplies packed 16-bit signed integer values, truncate the 32-bit product to the 18 most significant bits by right-shifting, round the truncated value by adding 1, and write bits `[16:1]` to the destination.

Intel’s documentation