Home
last modified time | relevance | path

Searched refs:w_abs_scaled (Results 1 – 5 of 5) sorted by relevance

/external/XNNPACK/src/requantization/
Dprecise-scalar.c99 …const uint32_t w_abs_scaled = (uint32_t)(w_product_hi + rounding_hi + w_carry_lo) >> shift_minus_3… in xnn_requantize_precise__scalar_unsigned32() local
105 const int32_t w_scaled = (int32_t)(w >= 0 ? w_abs_scaled : -w_abs_scaled); in xnn_requantize_precise__scalar_unsigned32()
182 const uint32_t w_abs_scaled = (uint32_t)((w_product + rounding) >> shift); in xnn_requantize_precise__scalar_unsigned64() local
190 const int32_t w_scaled = (int32_t)(w >= 0 ? w_abs_scaled : -w_abs_scaled); in xnn_requantize_precise__scalar_unsigned64()
Dprecise-sse4.c85 const __m128i w_abs_scaled = _mm_blend_epi16(w_abs_scaled02, w_abs_scaled13, 0xCC); in xnn_requantize_precise__sse4() local
90 const __m128i w_scaled = _mm_sign_epi32(w_abs_scaled, w); in xnn_requantize_precise__sse4()
Dprecise-ssse3.c93 const __m128i w_abs_scaled = _mm_shuffle_epi32(w_abs_scaled0213, _MM_SHUFFLE(3, 1, 2, 0)); in xnn_requantize_precise__ssse3() local
98 const __m128i w_scaled = _mm_sign_epi32(w_abs_scaled, w); in xnn_requantize_precise__ssse3()
Dprecise-sse2.c98 const __m128i w_abs_scaled = _mm_shuffle_epi32(w_abs_scaled0213, _MM_SHUFFLE(3, 1, 2, 0)); in xnn_requantize_precise__sse2() local
103 const __m128i w_scaled = _mm_sub_epi32(_mm_xor_si128(w_abs_scaled, w_neg_mask), w_neg_mask); in xnn_requantize_precise__sse2()
Dprecise-psimd.c118 const psimd_u32 w_abs_scaled = w_adjusted_product >> vshift; in xnn_requantize_precise__psimd() local
123 const psimd_s32 w_scaled = (psimd_s32)(w_abs_scaled ^ w_neg_mask) - w_neg_mask; in xnn_requantize_precise__psimd()