Function core::arch::x86::_mm_hsubs_epi16
1.27.0 · source · pub unsafe fn _mm_hsubs_epi16(a: __m128i, b: __m128i) -> __m128iAvailable on (x86 or x86-64) and target feature
ssse3 and x86 only.Expand description
水平减去 [8 x i16] 的 2 个包装的 128 位 vectors 中包含的相邻值对。
正差异大于
7FFFh 饱和到 7FFFh。小于 8000h 的负差会饱和到 8000h。