# Function core::arch::x86_64::_mm_mulhrs_epi16
1.27.0[−][src]

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

This is supported on x86-64 and target feature `ssse3` only.

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