_mm_mulhrs_epi16 in core::arch::x86_64 - Rust
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.
Keywords: rust, rustlang, rust-lang, _mm_mulhrs_epi16

# 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.
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