Home
last modified time | relevance | path

Searched refs:sum (Results 1 – 25 of 1277) sorted by relevance

12345678910>>...52

/external/chromium_org/v8/test/webkit/
Ddfg-put-scoped-var-backward-flow-expected.txt29 PASS sum([2147483646, 2147483644]) is 4294967290
30 PASS sum([2147483646, 2147483644]) is 4294967290
31 PASS sum([2147483646, 2147483644]) is 4294967290
32 PASS sum([2147483646, 2147483644]) is 4294967290
33 PASS sum([2147483646, 2147483644]) is 4294967290
34 PASS sum([2147483646, 2147483644]) is 4294967290
35 PASS sum([2147483646, 2147483644]) is 4294967290
36 PASS sum([2147483646, 2147483644]) is 4294967290
37 PASS sum([2147483646, 2147483644]) is 4294967290
38 PASS sum([2147483646, 2147483644]) is 4294967290
[all …]
/external/flac/libFLAC/
Dlpc.c273 FLAC__int32 sum; in FLAC__lpc_compute_residual_from_qlp_coefficients() local
286 sum = 0; in FLAC__lpc_compute_residual_from_qlp_coefficients()
289 sum += qlp_coeff[j] * (*(--history)); in FLAC__lpc_compute_residual_from_qlp_coefficients()
293 *(residual++) = *(data++) - (sum >> lp_quantization); in FLAC__lpc_compute_residual_from_qlp_coefficients()
308 FLAC__int32 sum;
323 sum = 0;
324 sum += qlp_coeff[11] * data[i-12];
325 sum += qlp_coeff[10] * data[i-11];
326 sum += qlp_coeff[9] * data[i-10];
327 sum += qlp_coeff[8] * data[i-9];
[all …]
/external/clang/test/CodeGen/
Darm64-abi-vector.c22 double sum = fixed; in varargs_vec_3c() local
25 sum = sum + c3.x + c3.y; in varargs_vec_3c()
27 return sum; in varargs_vec_3c()
42 double sum = fixed; in varargs_vec_4c() local
45 sum = sum + c4.x + c4.y; in varargs_vec_4c()
47 return sum; in varargs_vec_4c()
62 double sum = fixed; in varargs_vec_5c() local
65 sum = sum + c5.x + c5.y; in varargs_vec_5c()
67 return sum; in varargs_vec_5c()
84 double sum = fixed; in varargs_vec_9c() local
[all …]
Darm-abi-vector.c30 double sum = fixed; in varargs_vec_2i() local
33 sum = sum + c3.x + c3.y; in varargs_vec_2i()
35 return sum; in varargs_vec_2i()
56 double sum = fixed; in varargs_vec_3c() local
59 sum = sum + c3.x + c3.y; in varargs_vec_3c()
61 return sum; in varargs_vec_3c()
87 double sum = fixed; in varargs_vec_5c() local
90 sum = sum + c5.x + c5.y; in varargs_vec_5c()
92 return sum; in varargs_vec_5c()
121 double sum = fixed; in varargs_vec_9c() local
[all …]
Dbuiltins-arm-exclusive.c38 int sum = 0; in test_ldrex() local
39 sum += __builtin_arm_ldrex(addr); in test_ldrex()
48 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
60 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
68 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
74 sum += __builtin_arm_ldrex(addr64); in test_ldrex()
80 sum += __builtin_arm_ldrex(addrfloat); in test_ldrex()
90 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
103 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
110 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
[all …]
/external/chromium_org/third_party/opus/src/celt/
Dpitch.h60 static OPUS_INLINE void xcorr_kernel(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4],… in xcorr_kernel()
74 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel()
75 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel()
76 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel()
77 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel()
80 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel()
81 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel()
82 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel()
83 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel()
86 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel()
[all …]
Dcelt_lpc.c116 opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT); in celt_fir() local
119 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir()
121 _y[i] = SATURATE16(PSHR32(sum, SIG_SHIFT)); in celt_fir()
126 opus_val32 sum[4]={0,0,0,0}; in celt_fir() local
127 xcorr_kernel(rnum, x+i, sum, ord); in celt_fir()
128 _y[i ] = SATURATE16(ADD32(EXTEND32(_x[i ]), PSHR32(sum[0], SIG_SHIFT))); in celt_fir()
129 _y[i+1] = SATURATE16(ADD32(EXTEND32(_x[i+1]), PSHR32(sum[1], SIG_SHIFT))); in celt_fir()
130 _y[i+2] = SATURATE16(ADD32(EXTEND32(_x[i+2]), PSHR32(sum[2], SIG_SHIFT))); in celt_fir()
131 _y[i+3] = SATURATE16(ADD32(EXTEND32(_x[i+3]), PSHR32(sum[3], SIG_SHIFT))); in celt_fir()
135 opus_val32 sum = 0; in celt_fir() local
[all …]
/external/libopus/celt/
Dpitch.h60 static OPUS_INLINE void xcorr_kernel(const opus_val16 * x, const opus_val16 * y, opus_val32 sum[4],… in xcorr_kernel()
74 sum[0] = MAC16_16(sum[0],tmp,y_0); in xcorr_kernel()
75 sum[1] = MAC16_16(sum[1],tmp,y_1); in xcorr_kernel()
76 sum[2] = MAC16_16(sum[2],tmp,y_2); in xcorr_kernel()
77 sum[3] = MAC16_16(sum[3],tmp,y_3); in xcorr_kernel()
80 sum[0] = MAC16_16(sum[0],tmp,y_1); in xcorr_kernel()
81 sum[1] = MAC16_16(sum[1],tmp,y_2); in xcorr_kernel()
82 sum[2] = MAC16_16(sum[2],tmp,y_3); in xcorr_kernel()
83 sum[3] = MAC16_16(sum[3],tmp,y_0); in xcorr_kernel()
86 sum[0] = MAC16_16(sum[0],tmp,y_2); in xcorr_kernel()
[all …]
Dcelt_lpc.c116 opus_val32 sum = SHL32(EXTEND32(_x[i]), SIG_SHIFT); in celt_fir() local
119 sum = MAC16_16(sum,rnum[j],x[i+j]); in celt_fir()
121 _y[i] = SATURATE16(PSHR32(sum, SIG_SHIFT)); in celt_fir()
126 opus_val32 sum[4]={0,0,0,0}; in celt_fir() local
127 xcorr_kernel(rnum, x+i, sum, ord); in celt_fir()
128 _y[i ] = SATURATE16(ADD32(EXTEND32(_x[i ]), PSHR32(sum[0], SIG_SHIFT))); in celt_fir()
129 _y[i+1] = SATURATE16(ADD32(EXTEND32(_x[i+1]), PSHR32(sum[1], SIG_SHIFT))); in celt_fir()
130 _y[i+2] = SATURATE16(ADD32(EXTEND32(_x[i+2]), PSHR32(sum[2], SIG_SHIFT))); in celt_fir()
131 _y[i+3] = SATURATE16(ADD32(EXTEND32(_x[i+3]), PSHR32(sum[3], SIG_SHIFT))); in celt_fir()
135 opus_val32 sum = 0; in celt_fir() local
[all …]
/external/speex/libspeex/
Dresample_sse.h44 __m128 sum = _mm_setzero_ps(); in inner_product_single() local
47 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i), _mm_loadu_ps(b+i))); in inner_product_single()
48 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+i+4), _mm_loadu_ps(b+i+4))); in inner_product_single()
50 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum)); in inner_product_single()
51 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in inner_product_single()
52 _mm_store_ss(&ret, sum); in inner_product_single()
60 __m128 sum = _mm_setzero_ps(); in interpolate_product_single() local
64 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_load1_ps(a+i), _mm_loadu_ps(b+i*oversample))); in interpolate_product_single()
65 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_load1_ps(a+i+1), _mm_loadu_ps(b+(i+1)*oversample))); in interpolate_product_single()
67 sum = _mm_mul_ps(f, sum); in interpolate_product_single()
[all …]
Dltp_sse.h42 __m128 sum = _mm_setzero_ps(); in inner_prod() local
45 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+0), _mm_loadu_ps(b+0))); in inner_prod()
46 sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a+4), _mm_loadu_ps(b+4))); in inner_prod()
50 sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum)); in inner_prod()
51 sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55)); in inner_prod()
52 _mm_store_ss(&ret, sum); in inner_prod()
76 __m128 sum, *xx, *yy; in pitch_xcorr() local
77 sum = _mm_setzero_ps(); in pitch_xcorr()
82 sum = _mm_add_ps(sum, _mm_mul_ps(xx[0], yy[0])); in pitch_xcorr()
83 sum = _mm_add_ps(sum, _mm_mul_ps(xx[1], yy[1])); in pitch_xcorr()
[all …]
/external/valgrind/main/none/tests/s390x/
Dcksm.c12 uint32_t sum; member
19 cksm_by_insn(const uint32_t *buff, uint64_t len, uint32_t sum) in cksm_by_insn() argument
33 : "+d" (sum), "+d" (reg2), "+d" (reg3) : : "cc", "memory"); in cksm_by_insn()
52 result.sum = sum; in cksm_by_insn()
60 cksm_by_hand(const uint32_t *buff, uint64_t len, uint32_t sum) in cksm_by_hand() argument
70 v64 = sum; in cksm_by_hand()
74 sum = sum + buff[n] + 1; in cksm_by_hand()
76 sum = sum + buff[n]; in cksm_by_hand()
100 v64 = sum; in cksm_by_hand()
104 sum = sum + final + 1; in cksm_by_hand()
[all …]
/external/tcpdump/
Din_cksum.c54 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
60 register int sum = 0; in in_cksum() local
87 sum += s_util.s; in in_cksum()
97 sum <<= 8; in in_cksum()
108 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum()
109 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in in_cksum()
110 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11]; in in_cksum()
111 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15]; in in_cksum()
116 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in in_cksum()
124 sum += *w++; in in_cksum()
[all …]
/external/qemu/slirp/
Dcksum.c45 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
50 register int sum = 0; in cksum() local
77 sum <<= 8; in cksum()
88 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in cksum()
89 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in cksum()
90 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11]; in cksum()
91 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15]; in cksum()
96 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in cksum()
104 sum += *w++; in cksum()
109 sum <<= 8; in cksum()
[all …]
/external/qemu/slirp-android/
Dcksum.c45 #define REDUCE {l_util.l = sum; sum = l_util.s[0] + l_util.s[1]; ADDCARRY(sum);}
50 register int sum = 0; in cksum() local
77 sum <<= 8; in cksum()
88 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in cksum()
89 sum += w[4]; sum += w[5]; sum += w[6]; sum += w[7]; in cksum()
90 sum += w[8]; sum += w[9]; sum += w[10]; sum += w[11]; in cksum()
91 sum += w[12]; sum += w[13]; sum += w[14]; sum += w[15]; in cksum()
96 sum += w[0]; sum += w[1]; sum += w[2]; sum += w[3]; in cksum()
104 sum += *w++; in cksum()
109 sum <<= 8; in cksum()
[all …]
/external/libxml2/
Dxmlwriter.c525 int sum; in xmlTextWriterStartDocument() local
563 sum = 0; in xmlTextWriterStartDocument()
567 sum += count; in xmlTextWriterStartDocument()
571 sum += count; in xmlTextWriterStartDocument()
578 sum += count; in xmlTextWriterStartDocument()
582 sum += count; in xmlTextWriterStartDocument()
587 sum += count; in xmlTextWriterStartDocument()
591 sum += count; in xmlTextWriterStartDocument()
597 sum += count; in xmlTextWriterStartDocument()
601 sum += count; in xmlTextWriterStartDocument()
[all …]
/external/chromium_org/third_party/libxml/src/
Dxmlwriter.c521 int sum; in xmlTextWriterStartDocument() local
559 sum = 0; in xmlTextWriterStartDocument()
563 sum += count; in xmlTextWriterStartDocument()
567 sum += count; in xmlTextWriterStartDocument()
574 sum += count; in xmlTextWriterStartDocument()
578 sum += count; in xmlTextWriterStartDocument()
583 sum += count; in xmlTextWriterStartDocument()
587 sum += count; in xmlTextWriterStartDocument()
593 sum += count; in xmlTextWriterStartDocument()
597 sum += count; in xmlTextWriterStartDocument()
[all …]
/external/clang/test/Sema/
Dbuiltins-arm64-exclusive.c8 int sum = 0; in test_ldrex() local
9 sum += __builtin_arm_ldrex(addr); in test_ldrex()
10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
13 sum += __builtin_arm_ldrex((__int128 *)addr); in test_ldrex()
14 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex()
15 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
16 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
17 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
[all …]
Dbuiltins-arm-exclusive.c8 int sum = 0; in test_ldrex() local
9 sum += __builtin_arm_ldrex(addr); in test_ldrex()
10 sum += __builtin_arm_ldrex((short *)addr); in test_ldrex()
11 sum += __builtin_arm_ldrex((int *)addr); in test_ldrex()
12 sum += __builtin_arm_ldrex((long long *)addr); in test_ldrex()
13 sum += __builtin_arm_ldrex((float *)addr); in test_ldrex()
14 sum += __builtin_arm_ldrex((double *)addr); in test_ldrex()
15 sum += *__builtin_arm_ldrex((int **)addr); in test_ldrex()
16 sum += __builtin_arm_ldrex((struct Simple **)addr)->a; in test_ldrex()
17 sum += __builtin_arm_ldrex((volatile char *)addr); in test_ldrex()
[all …]
/external/opencv/cv/src/
Dcvsumpixels.cpp48 sumtype* sum, int sumstep, \
60 memset( sum, 0, (size.width+1)*sizeof(sum[0])); \
61 sumstep /= sizeof(sum[0]); \
62 sum += sumstep + 1; \
81 sum += sumstep ) \
83 sum[-1] = 0; \
88 sum[x] = sum[x - sumstep] + s; \
95 sum += sumstep, sqsum += sqsumstep ) \
97 sum[-1] = 0; \
107 t = sum[x - sumstep] + s; \
[all …]
/external/chromium_org/v8/test/mjsunit/
Dlea-add.js31 var sum = 0;
33 sum = (i + sum) | 0;
35 return sum;
39 var sum = 0;
41 sum = (i + sum) | 0;
43 return sum;
47 var sum = 0;
49 sum += (i + -0x7fffffff) | 0;
51 return sum;
55 var sum = 0;
[all …]
/external/chromium_org/third_party/libvpx/source/libvpx/vp9/encoder/x86/
Dvp9_variance_avx2.c17 unsigned int *sse, int *sum);
21 unsigned int *sse, int *sum);
25 unsigned int *sse, int *sum);
46 int w, int h, unsigned int *sse, int *sum, in variance_avx2() argument
51 *sum = 0; in variance_avx2()
60 *sum += sum0; in variance_avx2()
69 int sum; in vp9_variance16x16_avx2() local
71 sse, &sum, vp9_get16x16var_avx2, 16); in vp9_variance16x16_avx2()
72 return *sse - (((unsigned int)sum * sum) >> 8); in vp9_variance16x16_avx2()
78 int sum; in vp9_mse16x16_avx2() local
[all …]
Dvp9_variance_sse2.c20 unsigned int *sse, int *sum);
43 unsigned int *sse, int *sum) { in vp9_get4x4var_sse2() argument
57 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in vp9_get4x4var_sse2()
71 unsigned int *sse, int *sum) { in vp9_get8x8var_sse2() argument
100 *sum = (int16_t)_mm_extract_epi16(vsum, 0); in vp9_get8x8var_sse2()
112 unsigned int *sse, int *sum) { in vp9_get16x16var_sse2() argument
142 *sum = (int16_t)_mm_extract_epi16(vsum, 0) + in vp9_get16x16var_sse2()
156 int w, int h, unsigned int *sse, int *sum, in variance_sse2() argument
161 *sum = 0; in variance_sse2()
170 *sum += sum0; in variance_sse2()
[all …]
/external/chromium_org/third_party/opus/src/celt/arm/
Dcelt_pitch_xcorr_arm.s43 ; Compute sum[k]=sum(x[j]*y[j+k],j=0...len-1), k=0...3
49 ; q0 = opus_val32 sum[4]
51 ; q0 = opus_val32 sum[4]
283 SMLABB r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_0,y_0)
285 SMLABT r7, r12, r10, r7 ; sum[1] = MAC16_16(sum[1],x_0,y_1)
287 SMLABB r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_0,y_2)
288 SMLABT r9, r12, r11, r9 ; sum[3] = MAC16_16(sum[3],x_0,y_3)
289 SMLATT r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_1,y_1)
291 SMLATB r7, r12, r11, r7 ; sum[1] = MAC16_16(sum[1],x_1,y_2)
292 SMLATT r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_1,y_3)
[all …]
/external/libopus/celt/arm/
Dcelt_pitch_xcorr_arm.s43 ; Compute sum[k]=sum(x[j]*y[j+k],j=0...len-1), k=0...3
49 ; q0 = opus_val32 sum[4]
51 ; q0 = opus_val32 sum[4]
283 SMLABB r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_0,y_0)
285 SMLABT r7, r12, r10, r7 ; sum[1] = MAC16_16(sum[1],x_0,y_1)
287 SMLABB r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_0,y_2)
288 SMLABT r9, r12, r11, r9 ; sum[3] = MAC16_16(sum[3],x_0,y_3)
289 SMLATT r6, r12, r10, r6 ; sum[0] = MAC16_16(sum[0],x_1,y_1)
291 SMLATB r7, r12, r11, r7 ; sum[1] = MAC16_16(sum[1],x_1,y_2)
292 SMLATT r8, r12, r11, r8 ; sum[2] = MAC16_16(sum[2],x_1,y_3)
[all …]

12345678910>>...52