Function _mm256_sign_epi32

#[target_feature(enable = "avx2")]
pub fn _mm256_sign_epi32(a: __m256i, b: __m256i) -> __m256i

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