Home
last modified time | relevance | path

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

123

/external/valgrind/VEX/priv/
Dguest_generic_bb_to_IR.c793 UInt sum1 = 0, sum2 = 0; in genericg_compute_checksum_4al() local
798 w = p[0]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
799 w = p[1]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
800 w = p[2]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
801 w = p[3]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
804 sum1 ^= sum2; in genericg_compute_checksum_4al()
808 w = p[0]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in genericg_compute_checksum_4al()
811 sum1 ^= sum2; in genericg_compute_checksum_4al()
813 return sum1 + sum2; in genericg_compute_checksum_4al()
821 UInt sum1 = 0, sum2 = 0; in genericg_compute_checksum_4al_1() local
[all …]
/external/pdfium/third_party/zlib_v128/
Dadler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
70 unsigned long sum2; in adler32() local
74 sum2 = (adler >> 16) & 0xffff; in adler32()
82 sum2 += adler; in adler32()
83 if (sum2 >= BASE) in adler32()
84 sum2 -= BASE; in adler32()
85 return adler | (sum2 << 16); in adler32()
96 sum2 += adler; in adler32()
100 MOD28(sum2); /* only added so many BASE's */ in adler32()
101 return adler | (sum2 << 16); in adler32()
[all …]
/external/zlib/src/
Dadler32.c18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
70 unsigned long sum2; local
74 sum2 = (adler >> 16) & 0xffff;
82 sum2 += adler;
83 if (sum2 >= BASE)
84 sum2 -= BASE;
85 return adler | (sum2 << 16);
96 sum2 += adler;
100 MOD28(sum2); /* only added so many BASE's */
101 return adler | (sum2 << 16);
[all …]
/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/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
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/libvpx/libvpx/vp9/encoder/mips/msa/
Dvp9_avg_msa.c17 v8u16 sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7; in vp9_avg_8x8_msa() local
21 HADD_UB4_UH(src0, src1, src2, src3, sum0, sum1, sum2, sum3); in vp9_avg_8x8_msa()
23 ADD4(sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7, sum0, sum2, sum4, sum6); in vp9_avg_8x8_msa()
24 ADD2(sum0, sum2, sum4, sum6, sum0, sum4); in vp9_avg_8x8_msa()
42 v2u64 sum2; in vp9_avg_4x4_msa() local
51 sum2 = __msa_hadd_u_d(sum1, sum1); in vp9_avg_4x4_msa()
52 sum1 = (v4u32)__msa_srari_w((v4i32)sum2, 4); in vp9_avg_4x4_msa()
/external/speex/libspeex/
Dltp_arm4.h38 spx_word32_t sum1=0,sum2=0; in inner_prod() local
78 : "=r" (deadx), "=r" (deady), "+r" (sum1), "+r" (sum2), in inner_prod()
84 return (sum1+sum2)>>1; in inner_prod()
96 spx_word32_t sum2=0; in pitch_xcorr() local
176 "+m" (sum2), "+m" (sum3), "+m" (sum4), "=r" (dead1) in pitch_xcorr()
182 corr[nb_pitch-2-i]=sum2; in pitch_xcorr()
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()
Dfilters.c204 spx_word32_t sum2=0; in compute_rms() local
207 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
209 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
211 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
213 sum2 = MAC16_16(sum2,tmp,tmp); in compute_rms()
214 sum = ADD32(sum,SHR32(sum2,6)); in compute_rms()
238 spx_word32_t sum2=0; in compute_rms16() local
239 sum2 = MAC16_16(sum2,SHR16(x[i],1),SHR16(x[i],1)); in compute_rms16()
240 sum2 = MAC16_16(sum2,SHR16(x[i+1],1),SHR16(x[i+1],1)); in compute_rms16()
241 sum2 = MAC16_16(sum2,SHR16(x[i+2],1),SHR16(x[i+2],1)); in compute_rms16()
[all …]
/external/valgrind/VEX/useful/
Dsmchash.c153 UInt sum1 = 0, sum2 = 0; in cand1() local
165 w = p[0]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
166 w = p[1]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
167 w = p[2]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
168 w = p[3]; sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
171 sum1 ^= sum2; in cand1()
177 sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
180 sum1 ^= sum2; in cand1()
186 sum1 = ROL32(sum1 ^ w, 31); sum2 += w; in cand1()
190 return sum1 + sum2; in cand1()
/external/libvpx/libvpx/vpx_dsp/arm/
Dvariance_neon.c104 int sum1, sum2; in vpx_variance32x64_neon() local
109 &sse2, &sum2); in vpx_variance32x64_neon()
111 sum1 += sum2; in vpx_variance32x64_neon()
118 int sum1, sum2; in vpx_variance64x32_neon() local
123 &sse2, &sum2); in vpx_variance64x32_neon()
125 sum1 += sum2; in vpx_variance64x32_neon()
132 int sum1, sum2; in vpx_variance64x64_neon() local
138 &sse2, &sum2); in vpx_variance64x64_neon()
140 sum1 += sum2; in vpx_variance64x64_neon()
144 64, 16, &sse2, &sum2); in vpx_variance64x64_neon()
[all …]
/external/libgdx/extensions/gdx-bullet/jni/src/bullet/LinearMath/
DbtPolarDecomposition.cpp20 const btScalar sum2 = abs_column_sum(a,2); in p1_norm() local
21 return btMax(btMax(sum0, sum1), sum2); in p1_norm()
28 const btScalar sum2 = abs_row_sum(a,2); in pinf_norm() local
29 return btMax(btMax(sum0, sum1), sum2); in pinf_norm()
/external/libavc/common/x86/
Dih264_resi_trans_quant_sse42.c114 __m128i sum0, sum1, sum2, cmp0, cmp1; in ih264_resi_trans_quant_4x4_sse42() local
304 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
305 u4_zero_coeff += _mm_cvtsi128_si32(sum2); in ih264_resi_trans_quant_4x4_sse42()
317 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
318 u4_zero_coeff += _mm_cvtsi128_si32(sum2); in ih264_resi_trans_quant_4x4_sse42()
388 __m128i cmp0, cmp1, sum0, sum1, sum2; in ih264_resi_trans_quant_chroma_4x4_sse42() local
589 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
590 u4_zero_coeff += _mm_cvtsi128_si32(sum2); in ih264_resi_trans_quant_chroma_4x4_sse42()
602 sum2 = _mm_hadd_epi16(sum1, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
603 u4_zero_coeff += _mm_cvtsi128_si32(sum2); in ih264_resi_trans_quant_chroma_4x4_sse42()
[all …]
/external/valgrind/drd/tests/
Drwlock_test.c29 int sum1 = 0, sum2 = 0; in thread_func() local
40 sum2 += s_counter++; in thread_func()
46 s_grand_sum += sum2; in thread_func()
/external/valgrind/perf/
Dbigcode.c57 int h, i, sum1 = 0, sum2 = 0, sum3 = 0, sum4 = 0; in main() local
101 sum2 += f2(i+1, n_fns-i+1); in main()
108 printf("result = %d\n", sum1 + sum2 + sum3 + sum4); in main()
/external/google-breakpad/src/common/mac/
Dmacho_id.cc89 #define DO1(buf,i) {sum1 += (buf)[i]; sum2 += sum1;} in UpdateCRC()
96 uint32_t sum2 = (crc_ >> 16) & 0xFFFF; in UpdateCRC() local
107 sum2 %= MOD_ADLER; in UpdateCRC()
119 sum2 += sum1; in UpdateCRC()
122 sum2 %= MOD_ADLER; in UpdateCRC()
123 crc_ = (sum2 << 16) | sum1; in UpdateCRC()
/external/llvm/test/Analysis/BasicAA/
Dpure-const-dce.ll16 ; CHECK-NEXT: %sum2 = add i32 %sum1, %tmp0
17 ; CHECK-NEXT: %sum3 = add i32 %sum2, %tmp0
38 %sum2 = add i32 %sum1, %tmp3 ; <i32> [#uses=1]
39 %sum3 = add i32 %sum2, %tmp4 ; <i32> [#uses=1]
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/
DLevenbergMarquardtEstimator.java538 double sum2; in determineLMParameter() local
545 sum2 = 0; in determineLMParameter()
556 sum2 += s * s; in determineLMParameter()
558 parl = fp / (delta * sum2); in determineLMParameter()
562 sum2 = 0; in determineLMParameter()
572 sum2 += sum * sum; in determineLMParameter()
574 double gNorm = FastMath.sqrt(sum2); in determineLMParameter()
632 sum2 = 0; in determineLMParameter()
635 sum2 += s * s; in determineLMParameter()
637 double correction = fp / (delta * sum2); in determineLMParameter()
/external/valgrind/auxprogs/
Dvalgrind-di-server.c257 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} in adler32()
294 UInt sum2; in adler32() local
298 sum2 = (adler >> 16) & 0xffff; in adler32()
306 sum2 += adler; in adler32()
307 if (sum2 >= BASE) in adler32()
308 sum2 -= BASE; in adler32()
309 return adler | (sum2 << 16); in adler32()
320 sum2 += adler; in adler32()
324 MOD4(sum2); /* only added so many BASE's */ in adler32()
325 return adler | (sum2 << 16); in adler32()
[all …]
/external/valgrind/coregrind/
Dm_libcbase.c993 # define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} in VG_()
1030 UInt sum2; in VG_() local
1034 sum2 = (adler >> 16) & 0xffff; in VG_()
1042 sum2 += adler; in VG_()
1043 if (sum2 >= BASE) in VG_()
1044 sum2 -= BASE; in VG_()
1045 return adler | (sum2 << 16); in VG_()
1056 sum2 += adler; in VG_()
1060 MOD4(sum2); /* only added so many BASE's */ in VG_()
1061 return adler | (sum2 << 16); in VG_()
[all …]
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/general/
DLevenbergMarquardtOptimizer.java543 double sum2; in determineLMParameter() local
550 sum2 = 0; in determineLMParameter()
559 sum2 += s * s; in determineLMParameter()
561 parl = fp / (delta * sum2); in determineLMParameter()
565 sum2 = 0; in determineLMParameter()
573 sum2 += sum * sum; in determineLMParameter()
575 double gNorm = FastMath.sqrt(sum2); in determineLMParameter()
633 sum2 = 0; in determineLMParameter()
636 sum2 += s * s; in determineLMParameter()
638 double correction = fp / (delta * sum2); in determineLMParameter()
/external/openfst/src/include/fst/
Drandequivalent.h99 Weight sum2 = ShortestDistance(pfst2); variable
101 if (!ApproxEqual(sum1, sum2, delta)) {
103 VLOG(1) << "Sum2 = " << sum2;

123