Function safe_arch::abs_i16_m128i
source · pub fn abs_i16_m128i(a: m128i) -> m128i
Available with target feature
ssse3
only.Expand description
Lanewise absolute value with lanes as i16
.
This is a “wrapping” absolute value, so i16::MIN
stays as i16::MIN
.
- Intrinsic:
_mm_abs_epi16
- Assembly:
pabsw xmm, xmm