Searched refs:saturation_mask (Results 1 – 4 of 4) sorted by relevance
/external/XNNPACK/src/requantization/ |
D | gemmlowp-sse.h | 76 const __m128i saturation_mask = in gemmlowp_sse_vqrdmulh_s32() local 112 const __m128i saturated_result = _mm_blendv_epi8(result, min, saturation_mask); in gemmlowp_sse_vqrdmulh_s32() 115 _mm_and_si128(saturation_mask, min), in gemmlowp_sse_vqrdmulh_s32() 116 _mm_andnot_si128(saturation_mask, result)); in gemmlowp_sse_vqrdmulh_s32()
|
/external/gemmlowp/fixedpoint/ |
D | fixedpoint_sse.h | 318 __m128i min, saturation_mask, a0_a2, a1_a3, b0_b2, b1_b3; 325 saturation_mask = BitAnd(MaskIfEqual(a, b), MaskIfEqual(a, min)); 351 return SelectUsingMask(saturation_mask, min, result); 360 __m128i saturation_mask = 362 __m128i result = _mm_xor_si128(result_unsaturated, saturation_mask);
|
D | fixedpoint_avx.h | 175 __m256i min, saturation_mask, a0_a2, a1_a3, b0_b2, b1_b3; 182 saturation_mask = BitAnd(MaskIfEqual(a, b), MaskIfEqual(a, min)); 208 return SelectUsingMask(saturation_mask, min, result);
|
/external/neon_2_sse/ |
D | NEON_2_SSE.h | 8335 __m128i c1, maskA, saturation_mask, c7ffffff_mask, shift_res, shift_res_mask; variable 8338 saturation_mask = _mm_cmpgt_epi32 (a, maskA); //0xff...ff if we need saturation, 0 otherwise 8339 …c7ffffff_mask = _mm_srli_epi32(saturation_mask, 1); //saturated to 0x7f..ff when needed and zeros… 8341 shift_res_mask = _mm_andnot_si128(saturation_mask, shift_res); 8346 saturation_mask = _mm_cmpgt_epi32 (maskA,a); //0xff...ff if we need saturation, 0 otherwise 8347 …c7ffffff_mask = _mm_slli_epi32(saturation_mask, 31); //saturated to 0x80..00 when needed and zero… 8348 shift_res_mask = _mm_andnot_si128(saturation_mask, shift_res); 8389 __m128i cb, c8000, a_signed, saturation_mask, shift_res; variable 8394 saturation_mask = _mm_cmpgt_epi16 (a_signed, cb); 8396 return _mm_or_si128 (shift_res, saturation_mask); [all …]
|