/external/rust/crates/libz-sys/src/zlib-ng/ |
D | adler32_p.h | 15 #define DO1(sum1, sum2, buf, i) {(sum1) += buf[(i)]; (sum2) += (sum1);} argument 16 #define DO2(sum1, sum2, buf, i) {DO1(sum1, sum2, buf, i); DO1(sum1, sum2, buf, i+1);} argument 17 #define DO4(sum1, sum2, buf, i) {DO2(sum1, sum2, buf, i); DO2(sum1, sum2, buf, i+2);} argument 18 #define DO8(sum1, sum2, buf, i) {DO4(sum1, sum2, buf, i); DO4(sum1, sum2, buf, i+4);} argument 19 #define DO16(sum1, sum2, buf) {DO8(sum1, sum2, buf, 0); DO8(sum1, sum2, buf, 8);} argument 21 static inline uint32_t adler32_len_1(uint32_t adler, const unsigned char *buf, uint32_t sum2) { in adler32_len_1() argument 25 sum2 += adler; in adler32_len_1() 26 if (sum2 >= BASE) in adler32_len_1() 27 sum2 -= BASE; in adler32_len_1() 28 return adler | (sum2 << 16); in adler32_len_1() [all …]
|
D | adler32.c | 13 uint32_t sum2; local 17 sum2 = (adler >> 16) & 0xffff; 22 return adler32_len_1(adler, buf, sum2); 30 return adler32_len_16(adler, buf, len, sum2); 42 DO16(adler, sum2, buf); /* 16 sums unrolled */ 45 DO8(adler, sum2, buf, 0); /* 8 sums unrolled */ 50 sum2 %= BASE; 58 DO16(adler, sum2, buf); 63 DO8(adler, sum2, buf, 0); 70 sum2 += adler; [all …]
|
/external/rust/crates/libz-sys/src/zlib/ |
D | adler32.c | 16 #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/python/cpython2/Modules/zlib/ |
D | adler32.c | 16 #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/zlib/ |
D | adler32.c | 16 #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/angle/third_party/zlib/ |
D | adler32.c | 16 #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/libwebsockets/win32port/zlib/ |
D | adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 65 unsigned long sum2; local 69 sum2 = (adler >> 16) & 0xffff; 77 sum2 += adler; 78 if (sum2 >= BASE) 79 sum2 -= BASE; 80 return adler | (sum2 << 16); 91 sum2 += adler; 95 MOD4(sum2); /* only added so many BASE's */ 96 return adler | (sum2 << 16); [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/arch/arm/ |
D | adler32_neon.c | 32 uint16x8_t adler, sum2; in NEON_accum32() local 36 sum2 = vmull_u8( vget_low_u8(t0), vget_low_u8(d0)); in NEON_accum32() 37 sum2 = vmlal_u8(sum2, vget_high_u8(t0), vget_high_u8(d0)); in NEON_accum32() 38 sum2 = vmlal_u8(sum2, vget_low_u8(t1), vget_low_u8(d1)); in NEON_accum32() 39 sum2 = vmlal_u8(sum2, vget_high_u8(t1), vget_high_u8(d1)); in NEON_accum32() 41 s2acc = vpadalq_u16(s2acc, sum2); in NEON_accum32() 48 uint16x8_t adler, sum2; in NEON_accum32() local 51 sum2 = vmull_u8( vget_low_u8(t1), vget_low_u8(d0)); in NEON_accum32() 52 sum2 = vmlal_u8(sum2, vget_high_u8(t1), vget_high_u8(d0)); in NEON_accum32() 54 s2acc = vpadalq_u16(s2acc, sum2); in NEON_accum32() [all …]
|
/external/rust/crates/libz-sys/src/zlib-ng/arch/x86/ |
D | adler32_ssse3.c | 18 uint32_t sum2; in adler32_ssse3() local 21 sum2 = (adler >> 16) & 0xffff; in adler32_ssse3() 26 return adler32_len_1(adler, buf, sum2); in adler32_ssse3() 34 return adler32_len_16(adler, buf, len, sum2); in adler32_ssse3() 39 s2[0] = s2[1] = s2[2] = 0; s2[3] = sum2; in adler32_ssse3() 101 …sum2 = (s2_unpack[0] % BASE) + (s2_unpack[1] % BASE) + (s2_unpack[2] % BASE) + (s2_unpack[3] % BAS… in adler32_ssse3() 102 sum2 %= BASE; in adler32_ssse3() 103 s2[3] = sum2; in adler32_ssse3() 109 sum2 += adler; in adler32_ssse3() 112 sum2 %= BASE; in adler32_ssse3() [all …]
|
D | adler32_avx.c | 18 uint32_t sum2; in adler32_avx2() local 21 sum2 = (adler >> 16) & 0xffff; in adler32_avx2() 26 return adler32_len_1(adler, buf, sum2); in adler32_avx2() 34 return adler32_len_16(adler, buf, len, sum2); in adler32_avx2() 39 memset(s2, 0, sizeof(s2)); s2[7] = sum2; in adler32_avx2() 99 …sum2 = (s2_unpack[0] % BASE) + (s2_unpack[1] % BASE) + (s2_unpack[2] % BASE) + (s2_unpack[3] % BAS… in adler32_avx2() 101 sum2 %= BASE; in adler32_avx2() 102 s2[7] = sum2; in adler32_avx2() 108 sum2 += adler; in adler32_avx2() 111 sum2 %= BASE; in adler32_avx2() [all …]
|
/external/libopus/celt/x86/ |
D | pitch_sse4_1.c | 117 __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/webrtc/common_audio/signal_processing/ |
D | cross_correlation_neon.c | 56 int64_t sum2 = vaddvq_s64(sum0); in DotProductWithScaleNeon() local 57 *cross_correlation = (int32_t)((sum2 + sum_res) >> scaling); in DotProductWithScaleNeon() 60 int64x1_t sum2 = vadd_s64(vget_low_s64(sum0), vget_high_s64(sum0)); in DotProductWithScaleNeon() local 61 sum2 = vadd_s64(sum2, vdup_n_s64(sum_res)); in DotProductWithScaleNeon() 62 sum2 = vshl_s64(sum2, shift); in DotProductWithScaleNeon() 63 vst1_lane_s32(cross_correlation, vreinterpret_s32_s64(sum2), 0); in DotProductWithScaleNeon()
|
/external/llvm/test/Transforms/MergeFunc/ |
D | constant-entire-value.ll | 11 %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
|
D | merge-weak-crash.ll | 21 %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)
|
D | apply_function_attributes.ll | 13 %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
|
/external/llvm-project/llvm/test/Transforms/MergeFunc/ |
D | constant-entire-value.ll | 11 %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
|
D | merge-weak-crash.ll | 21 %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)
|
D | apply_function_attributes.ll | 13 %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
|
D | linkonce_odr.ll | 20 %sum2 = add i32 %x, %sum 21 %sum3 = add i32 %x, %sum2 27 %sum2 = add i32 %x, %sum 28 %sum3 = add i32 %x, %sum2 34 %sum2 = add i32 %x, %sum 35 %sum3 = add i32 %x, %sum2
|
/external/speex/libspeexdsp/ |
D | resample_sse.h | 105 __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/XNNPACK/src/xnnpack/ |
D | intrinsics-polyfill.h | 73 const __m256 sum2 = _mm256_add_ps(_mm512_castps512_ps256(v), _mm512_extractf32x8_ps(v, 1)); in _mm512_reduce_add_ps() local 75 …const __m256 sum2 = _mm256_add_ps(_mm512_castps512_ps256(v), _mm256_castpd_ps(_mm512_extractf64x4_… in _mm512_reduce_add_ps() 77 const __m128 sum4 = _mm_add_ps(_mm256_castps256_ps128(sum2), _mm256_extractf128_ps(sum2, 1)); in _mm512_reduce_add_ps() 86 const __m256 sum2 = _mm256_max_ps(_mm512_castps512_ps256(v), _mm512_extractf32x8_ps(v, 1)); in _mm512_reduce_max_ps() local 88 …const __m256 sum2 = _mm256_max_ps(_mm512_castps512_ps256(v), _mm256_castpd_ps(_mm512_extractf64x4_… in _mm512_reduce_max_ps() 90 const __m128 sum4 = _mm_max_ps(_mm256_castps256_ps128(sum2), _mm256_extractf128_ps(sum2, 1)); in _mm512_reduce_max_ps()
|
/external/llvm-project/openmp/tools/archer/tests/reduction/ |
D | parallel-reduction-nowait.c | 23 int sum2 = 0; in main() local 32 #pragma omp for schedule(static) reduction(+ : sum2) in main() 34 sum2 += i; in main() 36 var = sum1 + sum2; in main()
|
/external/flac/src/libFLAC/ |
D | lpc_intrin_vsx.c | 57 vector float sum2 = { 0.0f, 0.0f, 0.0f, 0.0f}; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() local 110 sum2 += d2 * d; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 142 sum2 += vec_perm(sum12, sum13, (vector unsigned char)vperm1); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 147 sum2 += vec_perm(sum22, sum23, (vector unsigned char)vperm2); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 152 sum2 += vec_perm(sum32, sum33, (vector unsigned char)vperm3); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 166 sum2 += d2 * d; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 172 vec_vsx_st(sum2, 32, autoc); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_16() 192 vector float sum2 = { 0.0f, 0.0f, 0.0f, 0.0f}; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() local 240 sum2 += d2 * d; in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() 267 sum2 += vec_perm(sum12, sum10, (vector unsigned char)vperm1); in FLAC__lpc_compute_autocorrelation_intrin_power8_vsx_lag_12() [all …]
|
/external/libaom/libaom/aom_dsp/arm/ |
D | variance_neon.c | 86 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/ |
D | variance_neon.c | 212 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 …]
|