Home
last modified time | relevance | path

Searched refs:vq31rounding (Results 1 – 6 of 6) sorted by relevance

/external/XNNPACK/src/requantization/
Dq31-sse4.c53 const __m128i vq31rounding = _mm_set1_epi64x(UINT64_C(0x40000000)); in xnn_requantize_q31__sse4() local
66 const __m128i x_product_even = _mm_add_epi64(_mm_mul_epi32(x, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
67 const __m128i y_product_even = _mm_add_epi64(_mm_mul_epi32(y, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
68 const __m128i z_product_even = _mm_add_epi64(_mm_mul_epi32(z, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
69 const __m128i w_product_even = _mm_add_epi64(_mm_mul_epi32(w, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
71 const __m128i x_product_odd = _mm_add_epi64(_mm_mul_epi32(x_rev, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
72 const __m128i y_product_odd = _mm_add_epi64(_mm_mul_epi32(y_rev, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
73 const __m128i z_product_odd = _mm_add_epi64(_mm_mul_epi32(z_rev, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
74 const __m128i w_product_odd = _mm_add_epi64(_mm_mul_epi32(w_rev, vmultiplier), vq31rounding); in xnn_requantize_q31__sse4()
Dq31-ssse3.c53 const __m128i vq31rounding = _mm_set1_epi64x(UINT64_C(0x40000000)); in xnn_requantize_q31__ssse3() local
91 const __m128i x_rounded_product_even = _mm_add_epi64(x_product_even, vq31rounding); in xnn_requantize_q31__ssse3()
92 const __m128i y_rounded_product_even = _mm_add_epi64(y_product_even, vq31rounding); in xnn_requantize_q31__ssse3()
93 const __m128i z_rounded_product_even = _mm_add_epi64(z_product_even, vq31rounding); in xnn_requantize_q31__ssse3()
94 const __m128i w_rounded_product_even = _mm_add_epi64(w_product_even, vq31rounding); in xnn_requantize_q31__ssse3()
111 const __m128i x_rounded_product_odd = _mm_add_epi64(x_product_odd, vq31rounding); in xnn_requantize_q31__ssse3()
112 const __m128i y_rounded_product_odd = _mm_add_epi64(y_product_odd, vq31rounding); in xnn_requantize_q31__ssse3()
113 const __m128i z_rounded_product_odd = _mm_add_epi64(z_product_odd, vq31rounding); in xnn_requantize_q31__ssse3()
114 const __m128i w_rounded_product_odd = _mm_add_epi64(w_product_odd, vq31rounding); in xnn_requantize_q31__ssse3()
Dq31-sse2.c53 const __m128i vq31rounding = _mm_set1_epi64x(UINT64_C(0x40000000)); in xnn_requantize_q31__sse2() local
91 const __m128i x_rounded_product_even = _mm_add_epi64(x_product_even, vq31rounding); in xnn_requantize_q31__sse2()
92 const __m128i y_rounded_product_even = _mm_add_epi64(y_product_even, vq31rounding); in xnn_requantize_q31__sse2()
93 const __m128i z_rounded_product_even = _mm_add_epi64(z_product_even, vq31rounding); in xnn_requantize_q31__sse2()
94 const __m128i w_rounded_product_even = _mm_add_epi64(w_product_even, vq31rounding); in xnn_requantize_q31__sse2()
111 const __m128i x_rounded_product_odd = _mm_add_epi64(x_product_odd, vq31rounding); in xnn_requantize_q31__sse2()
112 const __m128i y_rounded_product_odd = _mm_add_epi64(y_product_odd, vq31rounding); in xnn_requantize_q31__sse2()
113 const __m128i z_rounded_product_odd = _mm_add_epi64(z_product_odd, vq31rounding); in xnn_requantize_q31__sse2()
114 const __m128i w_rounded_product_odd = _mm_add_epi64(w_product_odd, vq31rounding); in xnn_requantize_q31__sse2()
/external/XNNPACK/src/q8-gemm/
D2x2-scalar.c73 const int64_t vq31rounding = INT64_C(0x40000000); in xnn_q8_gemm_ukernel_2x2__scalar() local
74 …const int32_t vq31product0x0 = (int32_t) (uint32_t) ((uint64_t) (vproduct0x0 + vq31rounding) >> 31… in xnn_q8_gemm_ukernel_2x2__scalar()
75 …const int32_t vq31product0x1 = (int32_t) (uint32_t) ((uint64_t) (vproduct0x1 + vq31rounding) >> 31… in xnn_q8_gemm_ukernel_2x2__scalar()
76 …const int32_t vq31product1x0 = (int32_t) (uint32_t) ((uint64_t) (vproduct1x0 + vq31rounding) >> 31… in xnn_q8_gemm_ukernel_2x2__scalar()
77 …const int32_t vq31product1x1 = (int32_t) (uint32_t) ((uint64_t) (vproduct1x1 + vq31rounding) >> 31… in xnn_q8_gemm_ukernel_2x2__scalar()
/external/XNNPACK/src/q8-igemm/
D2x2-scalar.c87 const int64_t vq31rounding = INT64_C(0x40000000); in xnn_q8_igemm_ukernel_2x2__scalar() local
88 …const int32_t vq31product0x0 = (int32_t) (uint32_t) ((uint64_t) (vproduct0x0 + vq31rounding) >> 31… in xnn_q8_igemm_ukernel_2x2__scalar()
89 …const int32_t vq31product0x1 = (int32_t) (uint32_t) ((uint64_t) (vproduct0x1 + vq31rounding) >> 31… in xnn_q8_igemm_ukernel_2x2__scalar()
90 …const int32_t vq31product1x0 = (int32_t) (uint32_t) ((uint64_t) (vproduct1x0 + vq31rounding) >> 31… in xnn_q8_igemm_ukernel_2x2__scalar()
91 …const int32_t vq31product1x1 = (int32_t) (uint32_t) ((uint64_t) (vproduct1x1 + vq31rounding) >> 31… in xnn_q8_igemm_ukernel_2x2__scalar()
/external/XNNPACK/src/q8-dwconv/
Dup1x9-scalar.c22 const int32_t vq31rounding = INT32_C(0x40000000); in xnn_q8_dwconv_ukernel_up1x9__scalar() local
95 … int32_t vq31product = (int32_t) (uint32_t) ((uint64_t) (vproduct + (int64_t) vq31rounding) >> 31); in xnn_q8_dwconv_ukernel_up1x9__scalar()