pub fn sign_apply_i8_m128i(a: m128i, b: m128i) -> m128i
Available with target feature ssse3 only.
Expand description

Applies the sign of i8 values in b to the values in a.

  • If b is negative: the a value is negated.

  • Else If b is 0: the a value becomes 0.

  • Else the a value is unchanged.

  • Intrinsic: _mm_sign_epi8

  • Assembly: psignb xmm, xmm