_mm_sign_epi32 in core::arch::x86 - Rust
Description: Negates packed 32-bit integers in `a` when the corresponding signed 32-bit integer in `b` is negative, and returns the results. Element in result are zeroed out when the corresponding element in `b` is zero.

Skip to main content

## _mm_sign_epi32

# Function _mm_sign_epi32

1.27.0 · Source

    pub fn _mm_sign_epi32(a: __m128i, b: __m128i) -> __m128i

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

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

Intel’s documentation