core::arch::x86::_mm_sign_epi16 - Rust
Description: API documentation for the Rust `_mm_sign_epi16` fn in crate `core`.
Keywords: rust, rustlang, rust-lang, _mm_sign_epi16

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

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

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

Negates packed 16-bit integers in `a` when the corresponding signed 16-bit integer in `b` is negative, and returns the results. Elements in result are zeroed out when the corresponding element in `b` is zero.

Intel's documentation