Home
last modified time | relevance | path

Searched refs:sum2 (Results 1 – 25 of 115) sorted by relevance

12345

/external/python/cpython2/Modules/zlib/
Dadler32.c16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
68 unsigned long sum2; local
72 sum2 = (adler >> 16) & 0xffff;
80 sum2 += adler;
81 if (sum2 >= BASE)
82 sum2 -= BASE;
83 return adler | (sum2 << 16);
94 sum2 += adler;
98 MOD28(sum2); /* only added so many BASE's */
99 return adler | (sum2 << 16);
[all …]
/external/v8/third_party/zlib/
Dadler32.c16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
73 unsigned long sum2; local
85 sum2 = (adler >> 16) & 0xffff;
93 sum2 += adler;
94 if (sum2 >= BASE)
95 sum2 -= BASE;
96 return adler | (sum2 << 16);
122 sum2 += adler;
126 MOD28(sum2); /* only added so many BASE's */
127 return adler | (sum2 << 16);
[all …]
/external/zlib/
Dadler32.c16 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
73 unsigned long sum2; local
85 sum2 = (adler >> 16) & 0xffff;
93 sum2 += adler;
94 if (sum2 >= BASE)
95 sum2 -= BASE;
96 return adler | (sum2 << 16);
122 sum2 += adler;
126 MOD28(sum2); /* only added so many BASE's */
127 return adler | (sum2 << 16);
[all …]
/external/u-boot/lib/zlib/
Dadler32.c15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
59 unsigned long sum2; in adler32() local
63 sum2 = (adler >> 16) & 0xffff; in adler32()
71 sum2 += adler; in adler32()
72 if (sum2 >= BASE) in adler32()
73 sum2 -= BASE; in adler32()
74 return adler | (sum2 << 16); in adler32()
85 sum2 += adler; in adler32()
89 MOD4(sum2); /* only added so many BASE's */ in adler32()
90 return adler | (sum2 << 16); in adler32()
[all …]
/external/libopus/celt/x86/
Dpitch_sse4_1.c117 __m128i sum0, sum1, sum2, sum3, vecSum; in xcorr_kernel_sse4_1() local
124 sum2 = _mm_setzero_si128(); in xcorr_kernel_sse4_1()
137 sum2 = _mm_add_epi32(sum2, _mm_madd_epi16(vecX, vecY2)); in xcorr_kernel_sse4_1()
147 sum2 = _mm_add_epi32(sum2, _mm_unpackhi_epi64( sum2, sum2)); in xcorr_kernel_sse4_1()
148 sum2 = _mm_add_epi32(sum2, _mm_shufflelo_epi16( sum2, 0x0E)); in xcorr_kernel_sse4_1()
154 _mm_unpacklo_epi32(sum2, sum3)); in xcorr_kernel_sse4_1()
171 sum2 = _mm_mullo_epi32(vecX2, vecY2); in xcorr_kernel_sse4_1()
175 sum2 = _mm_add_epi32(sum2, sum3); in xcorr_kernel_sse4_1()
177 vecSum = _mm_add_epi32(vecSum, sum2); in xcorr_kernel_sse4_1()
/external/XNNPACK/src/xnnpack/
Dintrinsics-polyfill.h33 const __m256 sum2 = _mm256_add_ps(_mm512_castps512_ps256(v), _mm512_extractf32x8_ps(v, 1)); in _mm512_reduce_add_ps() local
35 …const __m256 sum2 = _mm256_add_ps(_mm512_castps512_ps256(v), _mm256_castpd_ps(_mm512_extractf64x4_… in _mm512_reduce_add_ps()
37 const __m128 sum4 = _mm_add_ps(_mm256_castps256_ps128(sum2), _mm256_extractf128_ps(sum2, 1)); in _mm512_reduce_add_ps()
46 const __m256 sum2 = _mm256_max_ps(_mm512_castps512_ps256(v), _mm512_extractf32x8_ps(v, 1)); in _mm512_reduce_max_ps() local
48 …const __m256 sum2 = _mm256_max_ps(_mm512_castps512_ps256(v), _mm256_castpd_ps(_mm512_extractf64x4_… in _mm512_reduce_max_ps()
50 const __m128 sum4 = _mm_max_ps(_mm256_castps256_ps128(sum2), _mm256_extractf128_ps(sum2, 1)); in _mm512_reduce_max_ps()
/external/webrtc/webrtc/common_audio/signal_processing/
Dcross_correlation_neon.c55 int64_t sum2 = vaddvq_s64(sum0); in DotProductWithScaleNeon() local
56 *cross_correlation = (int32_t)((sum2 + sum_res) >> scaling); in DotProductWithScaleNeon()
59 int64x1_t sum2 = vadd_s64(vget_low_s64(sum0), vget_high_s64(sum0)); in DotProductWithScaleNeon() local
60 sum2 = vadd_s64(sum2, vdup_n_s64(sum_res)); in DotProductWithScaleNeon()
61 sum2 = vshl_s64(sum2, shift); in DotProductWithScaleNeon()
62 vst1_lane_s32(cross_correlation, vreinterpret_s32_s64(sum2), 0); in DotProductWithScaleNeon()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/MergeFunc/
Dconstant-entire-value.ll11 %sum2 = add i32 %sum, %1
12 %sum3 = add i32 %sum2, %y
20 %sum2 = add i32 %sum, %1
21 %sum3 = add i32 %sum2, %y
29 %sum2 = add i32 %sum, %1
30 %sum3 = add i32 %sum2, %y
38 %sum2 = add i32 %sum, %1
39 %sum3 = add i32 %sum2, %y
Dmerge-weak-crash.ll21 %sum2 = add i32 %sum, %y
22 %sum3 = call i32 @func4(i32 %sum, i32 %sum2)
28 %sum2 = add i32 %sum, %y
29 %sum3 = call i32 @unknown(i32 %sum, i32 %sum2)
35 %sum2 = add i32 %sum, %y
36 %sum3 = call i32 @func2(i32 %sum, i32 %sum2)
42 %sum2 = add i32 %sum, %y
43 %sum3 = call i32 @unknown(i32 %sum, i32 %sum2)
Dapply_function_attributes.ll13 %sum2 = add i32 %sum, %y
14 %sum3 = add i32 %sum2, %y
22 %sum2 = add i32 %sum, %y
23 %sum3 = add i32 %sum2, %y
31 %sum2 = add i32 %sum, %y
32 %sum3 = add i32 %sum2, %y
Dlinkonce_odr.ll20 %sum2 = add i32 %x, %sum
21 %sum3 = add i32 %x, %sum2
27 %sum2 = add i32 %x, %sum
28 %sum3 = add i32 %x, %sum2
Dfold-weak.ll5 %sum2 = add i32 %sum, %y
6 %sum3 = add i32 %sum2, %y
12 %sum2 = add i32 %sum, %y
13 %sum3 = add i32 %sum2, %y
/external/llvm/test/Transforms/MergeFunc/
Dconstant-entire-value.ll11 %sum2 = add i32 %sum, %1
12 %sum3 = add i32 %sum2, %y
20 %sum2 = add i32 %sum, %1
21 %sum3 = add i32 %sum2, %y
29 %sum2 = add i32 %sum, %1
30 %sum3 = add i32 %sum2, %y
38 %sum2 = add i32 %sum, %1
39 %sum3 = add i32 %sum2, %y
Dmerge-weak-crash.ll21 %sum2 = add i32 %sum, %y
22 %sum3 = call i32 @func4(i32 %sum, i32 %sum2)
28 %sum2 = add i32 %sum, %y
29 %sum3 = call i32 @unknown(i32 %sum, i32 %sum2)
35 %sum2 = add i32 %sum, %y
36 %sum3 = call i32 @func2(i32 %sum, i32 %sum2)
42 %sum2 = add i32 %sum, %y
43 %sum3 = call i32 @unknown(i32 %sum, i32 %sum2)
Dapply_function_attributes.ll13 %sum2 = add i32 %sum, %y
14 %sum3 = add i32 %sum2, %y
22 %sum2 = add i32 %sum, %y
23 %sum3 = add i32 %sum2, %y
31 %sum2 = add i32 %sum, %y
32 %sum3 = add i32 %sum2, %y
Dlinkonce_odr.ll20 %sum2 = add i32 %x, %sum
21 %sum3 = add i32 %x, %sum2
27 %sum2 = add i32 %x, %sum
28 %sum3 = add i32 %x, %sum2
Dfold-weak.ll5 %sum2 = add i32 %sum, %y
6 %sum3 = add i32 %sum2, %y
12 %sum2 = add i32 %sum, %y
13 %sum3 = add i32 %sum2, %y
/external/speex/libspeexdsp/
Dresample_sse.h105 __m128d sum2 = _mm_setzero_pd(); in interpolate_product_double() local
114 sum2 = _mm_add_pd(sum2, _mm_cvtps_pd(_mm_movehl_ps(t, t))); in interpolate_product_double()
118 sum2 = _mm_add_pd(sum2, _mm_cvtps_pd(_mm_movehl_ps(t, t))); in interpolate_product_double()
121 sum2 = _mm_mul_pd(f2, sum2); in interpolate_product_double()
122 sum = _mm_add_pd(sum1, sum2); in interpolate_product_double()
/external/libaom/libaom/aom_dsp/arm/
Dvariance_neon.c86 int sum1, sum2; in aom_variance32x64_neon() local
90 32, 32, &sse2, &sum2); in aom_variance32x64_neon()
92 sum1 += sum2; in aom_variance32x64_neon()
99 int sum1, sum2; in aom_variance64x32_neon() local
103 64, 16, &sse2, &sum2); in aom_variance64x32_neon()
105 sum1 += sum2; in aom_variance64x32_neon()
112 int sum1, sum2; in aom_variance64x64_neon() local
117 64, 16, &sse2, &sum2); in aom_variance64x64_neon()
119 sum1 += sum2; in aom_variance64x64_neon()
122 b_stride, 64, 16, &sse2, &sum2); in aom_variance64x64_neon()
[all …]
/external/libvpx/libvpx/vpx_dsp/arm/
Dvariance_neon.c212 int sum1, sum2; in vpx_variance32x64_neon() local
218 &sum2); in vpx_variance32x64_neon()
220 sum1 += sum2; in vpx_variance32x64_neon()
227 int sum1, sum2; in vpx_variance64x32_neon() local
233 &sum2); in vpx_variance64x32_neon()
235 sum1 += sum2; in vpx_variance64x32_neon()
242 int sum1, sum2; in vpx_variance64x64_neon() local
249 &sum2); in vpx_variance64x64_neon()
251 sum1 += sum2; in vpx_variance64x64_neon()
255 &sum2); in vpx_variance64x64_neon()
[all …]
/external/flac/libFLAC/
Dlpc_intrin_sse.c141 __m128 sum0, sum1, sum2; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new() local
149 sum2 = _mm_setzero_ps(); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new()
159 sum2 = _mm_add_ps(sum2, _mm_mul_ps(d2, d)); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new()
177 sum2 = _mm_add_ps(sum2, _mm_mul_ps(d, d2)); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new()
185 _mm_storeu_ps(autoc+8, sum2); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_12_new()
193 __m128 sum0, sum1, sum2, sum3; in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_16_new() local
201 sum2 = _mm_setzero_ps(); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_16_new()
213 sum2 = _mm_add_ps(sum2, _mm_mul_ps(d2, d)); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_16_new()
236 sum2 = _mm_add_ps(sum2, _mm_mul_ps(d, d2)); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_16_new()
244 _mm_storeu_ps(autoc+8, sum2); in FLAC__lpc_compute_autocorrelation_intrin_sse_lag_16_new()
/external/libvpx/libvpx/vpx_dsp/x86/
Dconvolve_avx2.h61 __m256i sum1, sum2; in convolve8_16_avx2() local
67 sum2 = _mm256_add_epi16(x1, x3); in convolve8_16_avx2()
70 sum1 = _mm256_adds_epi16(sum1, sum2); in convolve8_16_avx2()
88 __m128i sum1, sum2; in convolve8_8_avx2() local
94 sum2 = _mm_add_epi16(x1, x3); in convolve8_8_avx2()
97 sum1 = _mm_adds_epi16(sum1, sum2); in convolve8_8_avx2()
/external/kotlinx.coroutines/kotlinx-coroutines-core/common/test/flow/operators/
DDistinctUntilChangedTest.kt30 val sum2 = flow.distinctUntilChangedBy(Box::i).map { it.i }.sum() in <lambda>() constant
32 assertEquals(4, sum2) in <lambda>()
45 val sum2 = flow.distinctUntilChanged { old, new -> old.i == new.i }.map { it.i }.sum() in <lambda>() constant
47 assertEquals(4, sum2) in <lambda>()
/external/libaom/libaom/av1/encoder/x86/
Dcorner_match_sse4.c97 int sum2 = _mm_extract_epi32(res, 1); in av1_compute_cross_correlation_sse4_1() local
101 int var2 = sumsq2 * MATCH_SZ_SQ - sum2 * sum2; in av1_compute_cross_correlation_sse4_1()
102 int cov = cross * MATCH_SZ_SQ - sum1 * sum2; in av1_compute_cross_correlation_sse4_1()
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/NVPTX/
Dldg-invariant.ll37 %sum2 = fadd half %v3, %v4
38 %sum = fadd half %sum1, %sum2
53 %sum2 = fadd half %v3, %v4
54 %sum = fadd half %sum1, %sum2
77 %sum2 = add i32 %v3, %v4
78 %sum3 = add i32 %sum1, %sum2

12345