_mm256_sign_epi16 in core::arch::x86 - Rust
Description: Negates packed 16-bit integers in `a` when the corresponding signed 16-bit integer in `b` is negative, and returns the results. Results are zeroed out when the corresponding element in `b` is zero.
Keywords: rust, rustlang, rust-lang, _mm256_sign_epi16

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

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

This is supported on x86 and target feature `avx2` only.
Expand description

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

Intel’s documentation