## _mm256_sign_epi8

# Function _mm256_sign_epi8

1.27.0 · Source

    pub fn _mm256_sign_epi8(a: __m256i, b: __m256i) -> __m256i

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

Negates packed 8-bit integers in `a` when the corresponding signed 8-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