Function core::arch::x86_64::_mm_sign_epi8
1.27.0 · source · pub unsafe fn _mm_sign_epi8(a: __m128i, b: __m128i) -> __m128i
Available on (x86 or x86-64) and target feature
ssse3
only.Expand description
Negates packed 8-bit integers in a
when the corresponding signed 8-bit
integer in b
is negative, and returns the result.
Elements in result are zeroed out when the corresponding element in b
is zero.