Home
last modified time | relevance | path

Searched refs:accum (Results 1 – 25 of 173) sorted by relevance

1234567

/third_party/cmsis/CMSIS/DSP/Source/StatisticsFunctions/
Darm_logsumexp_f32.c74 float32_t accum=0.0f; in arm_logsumexp_f32() local
105 accum = vecAddAcrossF32Mve(vSum); in arm_logsumexp_f32()
111 accum += expf(tmp - maxVal); in arm_logsumexp_f32()
116 accum = maxVal + log(accum); in arm_logsumexp_f32()
118 return (accum); in arm_logsumexp_f32()
137 float32_t accum; in arm_logsumexp_f32() local
199 accum = 0; in arm_logsumexp_f32()
216 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_logsumexp_f32()
222 accum += expf(tmp - maxVal); in arm_logsumexp_f32()
227 accum = maxVal + logf(accum); in arm_logsumexp_f32()
[all …]
Darm_entropy_f32.c57 float32_t accum=0.0f,p; in arm_entropy_f32() local
80 accum = vecAddAcrossF32Mve(vSum); in arm_entropy_f32()
87 accum += p * logf(p); in arm_entropy_f32()
93 return (-accum); in arm_entropy_f32()
105 float32_t accum, p; in arm_entropy_f32() local
113 accum = 0.0f; in arm_entropy_f32()
130 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_entropy_f32()
137 accum += p * logf(p); in arm_entropy_f32()
143 return(-accum); in arm_entropy_f32()
151 float32_t accum, p; in arm_entropy_f32() local
[all …]
Darm_kullback_leibler_f32.c63 float32_t accum, pA,pB; in arm_kullback_leibler_f32() local
68 accum = 0.0f; in arm_kullback_leibler_f32()
90 accum = vecAddAcrossF32Mve(vSum); in arm_kullback_leibler_f32()
97 accum += pA * logf(pB / pA); in arm_kullback_leibler_f32()
103 return(-accum); in arm_kullback_leibler_f32()
115 float32_t accum, pA,pB; in arm_kullback_leibler_f32() local
124 accum = 0.0f; in arm_kullback_leibler_f32()
147 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_kullback_leibler_f32()
154 accum += pA * logf(pB/pA); in arm_kullback_leibler_f32()
160 return(-accum); in arm_kullback_leibler_f32()
[all …]
Darm_logsumexp_f16.c77 _Float16 accum=0.0f16; in arm_logsumexp_f16() local
108 accum = vecAddAcrossF16Mve(vSum); in arm_logsumexp_f16()
114 accum += expf(tmp - maxVal); in arm_logsumexp_f16()
119 accum = maxVal + logf(accum); in arm_logsumexp_f16()
121 return (accum); in arm_logsumexp_f16()
131 _Float16 accum; in arm_logsumexp_f16() local
153 accum = 0; in arm_logsumexp_f16()
157 accum += expf(tmp - maxVal); in arm_logsumexp_f16()
161 accum = maxVal + logf(accum); in arm_logsumexp_f16()
163 return(accum); in arm_logsumexp_f16()
Darm_kullback_leibler_f16.c77 _Float16 accum, pA,pB; in arm_kullback_leibler_f16() local
82 accum = 0.0f16; in arm_kullback_leibler_f16()
104 accum = vecAddAcrossF16Mve(vSum); in arm_kullback_leibler_f16()
111 accum += pA * logf(pB / pA); in arm_kullback_leibler_f16()
117 return(-accum); in arm_kullback_leibler_f16()
125 _Float16 accum, pA,pB; in arm_kullback_leibler_f16() local
131 accum = 0.0f; in arm_kullback_leibler_f16()
137 accum += pA * logf(pB / pA); in arm_kullback_leibler_f16()
143 return(-accum); in arm_kullback_leibler_f16()
Darm_entropy_f16.c70 _Float16 accum=0.0f16,p; in arm_entropy_f16() local
93 accum = vecAddAcrossF16Mve(vSum); in arm_entropy_f16()
100 accum += p * logf(p); in arm_entropy_f16()
106 return (-accum); in arm_entropy_f16()
115 _Float16 accum, p; in arm_entropy_f16() local
120 accum = 0.0f; in arm_entropy_f16()
125 accum += p * logf(p); in arm_entropy_f16()
131 return(-accum); in arm_entropy_f16()
/third_party/glslang/Test/baseResults/
Dspv.bufferhandle6.frag.out17 Name 8 "accum"
115 8(accum): 7(ptr) Variable Function
117 Store 8(accum) 9
121 26: 6(int) Load 8(accum)
123 Store 8(accum) 27
129 40: 6(int) Load 8(accum)
131 Store 8(accum) 41
135 46: 6(int) Load 8(accum)
137 Store 8(accum) 47
143 56: 6(int) Load 8(accum)
[all …]
/third_party/glslang/Test/
Dspv.bufferhandle6.frag15 int accum = 0, temp;
16 accum |= x.a[0] - 0;
17 accum |= x.a[pc.identity[1]] - 1;
18 accum |= x.b - 2;
19 accum |= x.c[0].a[0] - 3;
20 accum |= x.c[0].a[pc.identity[1]] - 4;
21 accum |= x.c[0].b - 5;
22 accum |= x.c[pc.identity[1]].a[0] - 6;
23 accum |= x.c[pc.identity[1]].a[pc.identity[1]] - 7;
24 accum |= x.c[pc.identity[1]].b - 8;
[all …]
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/
Darm_barycenter_f32.c63 float32_t accum, w; in arm_barycenter_f32() local
68 accum = 0.0f; in arm_barycenter_f32()
94 accum += w1 + w2 + w3 + w4; in arm_barycenter_f32()
145 accum += w; in arm_barycenter_f32()
173 accum = 1.0f / accum; in arm_barycenter_f32()
181 tmp = vmulq(tmp, accum); in arm_barycenter_f32()
190 *pOut = *pOut * accum; in arm_barycenter_f32()
205 float32_t accum, w,w1,w2,w3,w4; in arm_barycenter_f32() local
212 accum = 0.0f; in arm_barycenter_f32()
252 accum += w1 + w2 + w3 + w4; in arm_barycenter_f32()
[all …]
Darm_barycenter_f16.c77 float16_t accum, w; in arm_barycenter_f16() local
82 accum = 0.0f; in arm_barycenter_f16()
108 accum += w1 + w2 + w3 + w4; in arm_barycenter_f16()
159 accum += w; in arm_barycenter_f16()
187 accum = 1.0f / accum; in arm_barycenter_f16()
195 tmp = vmulq(tmp, accum); in arm_barycenter_f16()
204 *pOut = *pOut * accum; in arm_barycenter_f16()
216 float16_t accum, w; in arm_barycenter_f16() local
221 accum = 0.0f; in arm_barycenter_f16()
242 accum += w; in arm_barycenter_f16()
[all …]
/third_party/openssl/crypto/ec/curve448/
Dscalar.c49 const c448_word_t accum[C448_SCALAR_LIMBS], in sc_subx()
58 chain = (chain + accum[i]) - sub->limb[i]; in sc_subx()
76 c448_word_t accum[C448_SCALAR_LIMBS + 1] = { 0 }; in sc_montmul() local
85 chain += ((c448_dword_t) mand) * mier[j] + accum[j]; in sc_montmul()
86 accum[j] = (c448_word_t)chain; in sc_montmul()
89 accum[j] = (c448_word_t)chain; in sc_montmul()
91 mand = accum[0] * MONTGOMERY_FACTOR; in sc_montmul()
95 chain += (c448_dword_t) mand *mier[j] + accum[j]; in sc_montmul()
97 accum[j - 1] = (c448_word_t)chain; in sc_montmul()
100 chain += accum[j]; in sc_montmul()
[all …]
/third_party/ffmpeg/libavcodec/
Dmlpdsp.c41 int64_t accum = 0; in mlp_filter_channel() local
45 accum += (int64_t) firbuf[order] * fircoeff[order]; in mlp_filter_channel()
47 accum += (int64_t) iirbuf[order] * iircoeff[order]; in mlp_filter_channel()
49 accum = accum >> filter_shift; in mlp_filter_channel()
50 result = (accum + residual) & mask; in mlp_filter_channel()
53 *--iirbuf = result - accum; in mlp_filter_channel()
75 int64_t accum = 0; in ff_mlp_rematrix_channel() local
78 accum += (int64_t) samples[src_ch] * coeffs[src_ch]; in ff_mlp_rematrix_channel()
82 accum += noise_buffer[index] * (1 << (matrix_noise_shift + 7)); in ff_mlp_rematrix_channel()
86 samples[dest_ch] = ((accum >> 14) & mask) + *bypassed_lsbs; in ff_mlp_rematrix_channel()
/third_party/skia/bench/
DMathBench.cpp354 float accum = 0; in onDraw() local
360 accum += fast_floor(data[i]); in onDraw()
362 this->process(accum); in onDraw()
367 accum += sk_float_floor(data[i]); in onDraw()
369 this->process(accum); in onDraw()
415 int accum = 0; in onDraw() local
420 accum += SkCLZ_portable(fData[i]); in onDraw()
422 this->process(accum); in onDraw()
427 accum += SkCLZ(fData[i]); in onDraw()
429 this->process(accum); in onDraw()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/DistanceFunctions/
Darm_canberra_distance_f32.c62 float32_t accum = 0.0f; in arm_canberra_distance_f32() local
124 accum = vecAddAcrossF32Mve(accumV); in arm_canberra_distance_f32()
126 return (accum); in arm_canberra_distance_f32()
136 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local
176 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_canberra_distance_f32()
189 accum += (diff / sum); in arm_canberra_distance_f32()
193 return(accum); in arm_canberra_distance_f32()
199 float32_t accum=0.0f, tmpA, tmpB,diff,sum; in arm_canberra_distance_f32() local
210 accum += (diff / sum); in arm_canberra_distance_f32()
214 return(accum); in arm_canberra_distance_f32()
Darm_cityblock_distance_f32.c98 float32_t accum=0.0f, tmpA, tmpB; in arm_cityblock_distance_f32() local
120 accum = vget_lane_f32(accumV2,0); in arm_cityblock_distance_f32()
128 accum += fabsf(tmpA - tmpB); in arm_cityblock_distance_f32()
132 return(accum); in arm_cityblock_distance_f32()
138 float32_t accum,tmpA, tmpB; in arm_cityblock_distance_f32() local
140 accum = 0.0f; in arm_cityblock_distance_f32()
145 accum += fabsf(tmpA - tmpB); in arm_cityblock_distance_f32()
150 return(accum); in arm_cityblock_distance_f32()
Darm_euclidean_distance_f32.c100 float32_t accum=0.0f,tmp; in arm_euclidean_distance_f32() local
119 accum = vget_lane_f32(accumV2, 0) + vget_lane_f32(accumV2, 1); in arm_euclidean_distance_f32()
125 accum += SQ(tmp); in arm_euclidean_distance_f32()
128 arm_sqrt_f32(accum,&tmp); in arm_euclidean_distance_f32()
135 float32_t accum=0.0f,tmp; in arm_euclidean_distance_f32() local
140 accum += SQ(tmp); in arm_euclidean_distance_f32()
143 arm_sqrt_f32(accum,&tmp); in arm_euclidean_distance_f32()
/third_party/node/test/parallel/
Dtest-repl-uncaught-exception.js10 let accum = '';
13 output.write = (data) => accum += data.replace('\r', '');
25 assert.strictEqual(accum, expected);
27 assert(expected.test(accum), accum);
31 accum = '';
34 assert.strictEqual(accum.replace(/\u001b\[[0-9]+m/g, ''), '2\n');
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_mult_f32.c539 float32x2_t accum = vdup_n_f32(0); in arm_mat_mult_f32() local
667 accum = vpadd_f32(vget_low_f32(acc0), vget_high_f32(acc0)); in arm_mat_mult_f32()
668 sum0 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
670 accum = vpadd_f32(vget_low_f32(acc1), vget_high_f32(acc1)); in arm_mat_mult_f32()
671 sum1 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
673 accum = vpadd_f32(vget_low_f32(acc2), vget_high_f32(acc2)); in arm_mat_mult_f32()
674 sum2 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
676 accum = vpadd_f32(vget_low_f32(acc3), vget_high_f32(acc3)); in arm_mat_mult_f32()
677 sum3 += vget_lane_f32(accum, 0) + vget_lane_f32(accum, 1); in arm_mat_mult_f32()
679 accum = vpadd_f32(vget_low_f32(acc4), vget_high_f32(acc4)); in arm_mat_mult_f32()
[all …]
/third_party/skia/third_party/externals/libwebp/src/dsp/
Drescaler.c40 int accum = wrk->x_add; in WebPRescalerImportRowExpand_C() local
46 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpand_C()
49 accum -= wrk->x_sub; in WebPRescalerImportRowExpand_C()
50 if (accum < 0) { in WebPRescalerImportRowExpand_C()
55 accum += wrk->x_add; in WebPRescalerImportRowExpand_C()
58 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpand_C()
73 int accum = 0; in WebPRescalerImportRowShrink_C() local
76 accum += wrk->x_add; in WebPRescalerImportRowShrink_C()
77 while (accum > 0) { in WebPRescalerImportRowShrink_C()
78 accum -= wrk->x_sub; in WebPRescalerImportRowShrink_C()
[all …]
Drescaler_sse2.c51 int accum = x_add; in RescalerImportRowExpand_SSE2() local
55 if (wrk->src_width < 8 || accum >= (1 << 15)) { in RescalerImportRowExpand_SSE2()
66 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
71 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
72 if (accum < 0) { in RescalerImportRowExpand_SSE2()
75 accum += x_add; in RescalerImportRowExpand_SSE2()
85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
91 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
92 if (accum < 0) { in RescalerImportRowExpand_SSE2()
105 accum += x_add; in RescalerImportRowExpand_SSE2()
[all …]
/third_party/flutter/skia/third_party/externals/libwebp/src/dsp/
Drescaler.c40 int accum = wrk->x_add; in WebPRescalerImportRowExpand_C() local
45 wrk->frow[x_out] = right * wrk->x_add + (left - right) * accum; in WebPRescalerImportRowExpand_C()
48 accum -= wrk->x_sub; in WebPRescalerImportRowExpand_C()
49 if (accum < 0) { in WebPRescalerImportRowExpand_C()
54 accum += wrk->x_add; in WebPRescalerImportRowExpand_C()
57 assert(wrk->x_sub == 0 /* <- special case for src_width=1 */ || accum == 0); in WebPRescalerImportRowExpand_C()
72 int accum = 0; in WebPRescalerImportRowShrink_C() local
75 accum += wrk->x_add; in WebPRescalerImportRowShrink_C()
76 while (accum > 0) { in WebPRescalerImportRowShrink_C()
77 accum -= wrk->x_sub; in WebPRescalerImportRowShrink_C()
[all …]
Drescaler_sse2.c51 int accum = x_add; in RescalerImportRowExpand_SSE2() local
55 if (wrk->src_width < 8 || accum >= (1 << 15)) { in RescalerImportRowExpand_SSE2()
66 const __m128i mult = _mm_set1_epi32(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
71 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
72 if (accum < 0) { in RescalerImportRowExpand_SSE2()
75 accum += x_add; in RescalerImportRowExpand_SSE2()
85 const __m128i mult = _mm_cvtsi32_si128(((x_add - accum) << 16) | accum); in RescalerImportRowExpand_SSE2()
91 accum -= wrk->x_sub; in RescalerImportRowExpand_SSE2()
92 if (accum < 0) { in RescalerImportRowExpand_SSE2()
105 accum += x_add; in RescalerImportRowExpand_SSE2()
[all …]
/third_party/node/deps/npm/node_modules/bluebird/js/release/
Dreduce.js34 ReductionPromiseArray.prototype._gotAccum = function(accum) { argument
37 accum !== INTERNAL) {
38 this._eachValues.push(accum);
95 accum: null, property
136 function gotAccum(accum) { argument
137 this.accum = accum;
138 this.array._gotAccum(accum);
158 this.accum, value, this.index, this.length);
/third_party/mesa3d/src/util/
Dptralloc.h49 size_t accum = base_size; in ptralloc() local
51 *members[i] = (void*)(ptr + accum); in ptralloc()
52 accum += member_sizes[i]; in ptralloc()
68 size_t accum = base_size; in ptrzalloc() local
70 *members[i] = (void*)(ptr + accum); in ptrzalloc()
71 accum += member_sizes[i]; in ptrzalloc()
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/
Darm_dot_prod_f32.c134 f32x4_t accum = vdupq_n_f32(0); in arm_dot_prod_f32() local
148 accum = vmlaq_f32(accum, vec1, vec2); in arm_dot_prod_f32()
162 sum = vpadds_f32(vpadd_f32(vget_low_f32(accum), vget_high_f32(accum))); in arm_dot_prod_f32()
164 tmp = vpadd_f32(vget_low_f32(accum), vget_high_f32(accum)); in arm_dot_prod_f32()

1234567