Home
last modified time | relevance | path

Searched refs:acc (Results 1 – 25 of 426) sorted by relevance

12345678910>>...18

/external/tensorflow/tensorflow/core/kernels/neon/
Ddepthwiseconv_float.h56 float32x4_t acc[4];
58 acc[i] = vld1q_f32(acc_buffer_ptr + 4 * i);
61 acc[0] = vmlaq_f32(acc[0], input[0], filter[0]);
62 acc[1] = vmlaq_f32(acc[1], input[1], filter[1]);
63 acc[2] = vmlaq_f32(acc[2], input[2], filter[0]);
64 acc[3] = vmlaq_f32(acc[3], input[3], filter[1]);
67 vst1q_f32(acc_buffer_ptr + 4 * i, acc[i]);
80 float32x4_t acc[2];
82 acc[i] = vld1q_f32(acc_buffer_ptr + 4 * i);
86 acc[i] = vmlaq_f32(acc[i], input[i], filter[i]);
[all …]
/external/python/cpython3/Objects/
Daccu.c18 _PyAccu_Init(_PyAccu *acc) in _PyAccu_Init() argument
21 acc->large = NULL; in _PyAccu_Init()
22 acc->small = PyList_New(0); in _PyAccu_Init()
23 if (acc->small == NULL) in _PyAccu_Init()
29 flush_accumulator(_PyAccu *acc) in flush_accumulator() argument
31 Py_ssize_t nsmall = PyList_GET_SIZE(acc->small); in flush_accumulator()
35 if (acc->large == NULL) { in flush_accumulator()
36 acc->large = PyList_New(0); in flush_accumulator()
37 if (acc->large == NULL) in flush_accumulator()
40 joined = join_list_unicode(acc->small); in flush_accumulator()
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/optimized/
Ddepthwiseconv_uint8.h53 int32x4x2_t acc[2];
55 acc[i].val[0] = vld1q_s32(acc_buffer_ptr + 4 * i);
56 acc[i].val[1] = vld1q_s32(acc_buffer_ptr + 4 * i + 8);
67 acc[0].val[i] = vmlal_s16(acc[0].val[i], vget_low_s16(filter[i]),
69 acc[1].val[i] = vmlal_s16(acc[1].val[i], vget_high_s16(filter[i]),
74 vst1q_s32(acc_buffer_ptr + 4 * i, acc[i].val[0]);
75 vst1q_s32(acc_buffer_ptr + 4 * i + 8, acc[i].val[1]);
97 int32x4_t acc[4];
99 acc[i] = vld1q_s32(acc_buffer_ptr + 4 * i);
115 acc[0] = vmlal_s16(acc[0], vget_low_s16(filter), vget_low_s16(input[0]));
[all …]
Ddepthwiseconv_float.h52 float32x4_t acc[4];
54 acc[i] = vld1q_f32(acc_buffer_ptr + 4 * i);
57 acc[0] = vmlaq_f32(acc[0], input[0], filter[0]);
58 acc[1] = vmlaq_f32(acc[1], input[1], filter[1]);
59 acc[2] = vmlaq_f32(acc[2], input[2], filter[0]);
60 acc[3] = vmlaq_f32(acc[3], input[3], filter[1]);
63 vst1q_f32(acc_buffer_ptr + 4 * i, acc[i]);
76 float32x4_t acc[2];
78 acc[i] = vld1q_f32(acc_buffer_ptr + 4 * i);
82 acc[i] = vmlaq_f32(acc[i], input[i], filter[i]);
[all …]
/external/boringssl/src/crypto/fipsmodule/aes/asm/
Daes-586.pl214 $acc="esi";
257 my ($v0,$v1) = ($acc,$key);
314 { my ($v0,$v1) = ($key,$acc);
372 &movz ($acc,&LB("eax")); # 0
373 &mov ("ecx",&DWP(0,$tbl,$acc,8)); # 0
379 &movz ($acc,&LB("ebx")); # 10
380 &xor ("ecx",&DWP(2,$tbl,$acc,8)); # 10
382 &movz ($acc,&HB("ebx")); # 11
383 &xor ("edx",&DWP(1,$tbl,$acc,8)); # 11
386 &movz ($acc,&HB("eax")); # 5
[all …]
/external/webrtc/webrtc/modules/desktop_capture/
Ddiffer_block_sse2.cc27 __m128i acc = _mm_setzero_si128(); in BlockDifference_SSE2_W16() local
37 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
41 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
45 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
49 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W16()
53 sad = _mm_shuffle_epi32(acc, 0xEE); in BlockDifference_SSE2_W16()
54 sad = _mm_adds_epu16(sad, acc); in BlockDifference_SSE2_W16()
67 __m128i acc = _mm_setzero_si128(); in BlockDifference_SSE2_W32() local
77 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W32()
81 acc = _mm_adds_epu16(acc, sad); in BlockDifference_SSE2_W32()
[all …]
/external/clang/test/OpenMP/
Ddistribute_parallel_for_shared_messages.cpp57 int acc = 0; in tmain() local
64 acc++; in tmain()
71 acc++; in tmain()
78 acc++; in tmain()
85 acc++; in tmain()
92 acc++; in tmain()
99 acc++; in tmain()
106 acc++; in tmain()
113 acc++; in tmain()
120 acc++; in tmain()
[all …]
Ddistribute_parallel_for_simd_shared_messages.cpp57 int acc = 0; in tmain() local
64 acc++; in tmain()
71 acc++; in tmain()
78 acc++; in tmain()
85 acc++; in tmain()
92 acc++; in tmain()
99 acc++; in tmain()
106 acc++; in tmain()
113 acc++; in tmain()
120 acc++; in tmain()
[all …]
/external/libxaac/decoder/
Dixheaacd_basic_ops32.h379 WORD32 acc; in ixheaacd_mac16x16in32_sat() local
381 acc = ixheaacd_mult16x16in32(b, c); in ixheaacd_mac16x16in32_sat()
383 acc = ixheaacd_add32_sat(a, acc); in ixheaacd_mac16x16in32_sat()
385 return acc; in ixheaacd_mac16x16in32_sat()
389 WORD32 acc; in mac16x16hin32() local
391 acc = ixheaacd_mult16x16in32((WORD16)b, (WORD16)(c >> 16)); in mac16x16hin32()
393 acc = ixheaacd_add32(a, acc); in mac16x16hin32()
395 return acc; in mac16x16hin32()
400 WORD32 acc; in ixheaacd_mac16x16in32_shl() local
402 acc = ixheaacd_mult16x16in32_shl(b, c); in ixheaacd_mac16x16in32_shl()
[all …]
Dixheaacd_aac_tns.c217 WORD32 acc; in ixheaacd_tns_ar_filter_fixed_dec() local
230 acc = 0; in ixheaacd_tns_ar_filter_fixed_dec()
233 acc = ixheaacd_mac32_tns_sat(state[j - 1], lpc[j], acc); in ixheaacd_tns_ar_filter_fixed_dec()
236 y = ixheaacd_sub32_sat(y, ixheaacd_shl32_sat(acc, 1)); in ixheaacd_tns_ar_filter_fixed_dec()
245 acc = 0; in ixheaacd_tns_ar_filter_fixed_dec()
247 acc = ixheaacd_mac32_tns_sat(state[j - 1], lpc[j], acc); in ixheaacd_tns_ar_filter_fixed_dec()
250 y = ixheaacd_sub32_sat(y, ixheaacd_shl32_sat(acc, 1)); in ixheaacd_tns_ar_filter_fixed_dec()
266 WORD32 acc; in ixheaacd_tns_ar_filter_fixed_non_neon_armv7() local
279 acc = 0; in ixheaacd_tns_ar_filter_fixed_non_neon_armv7()
282 acc = ixheaacd_mac32_tns_sat(state[j - 1], lpc[j], acc); in ixheaacd_tns_ar_filter_fixed_non_neon_armv7()
[all …]
/external/libhevc/encoder/
Dia_basic_ops32.h1153 WORD32 acc; in mac16x16in32() local
1155 acc = mult16x16in32(b, c); in mac16x16in32()
1157 acc = add32(a, acc); in mac16x16in32()
1159 return acc; in mac16x16in32()
1192 WORD32 acc; in mac16x16in32_shl() local
1194 acc = mult16x16in32_shl(b, c); in mac16x16in32_shl()
1196 acc = add32(a, acc); in mac16x16in32_shl()
1198 return acc; in mac16x16in32_shl()
1231 WORD32 acc; in mac16x16in32_shl_sat() local
1233 acc = mult16x16in32_shl_sat(b, c); in mac16x16in32_shl_sat()
[all …]
/external/pdfium/core/fxcodec/jbig2/
DJBig2_BitStream_unittest.cpp19 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST() local
20 acc->LoadAllDataFiltered(); in TEST()
22 CJBig2_BitStream stream(acc); in TEST()
44 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST() local
45 acc->LoadAllDataFiltered(); in TEST()
47 CJBig2_BitStream stream(acc); in TEST()
56 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST() local
57 acc->LoadAllDataFiltered(); in TEST()
59 CJBig2_BitStream stream(acc); in TEST()
72 auto acc = pdfium::MakeRetain<CPDF_StreamAcc>(in_stream.get()); in TEST() local
[all …]
/external/openssh/openbsd-compat/
Dstrtoll.c53 long long acc, cutoff; in strtoll() local
111 for (acc = 0, any = 0;; c = (unsigned char) *s++) { in strtoll()
123 if (acc < cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
125 acc = LLONG_MIN; in strtoll()
129 acc *= base; in strtoll()
130 acc -= c; in strtoll()
133 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoll()
135 acc = LLONG_MAX; in strtoll()
139 acc *= base; in strtoll()
140 acc += c; in strtoll()
[all …]
Dstrtoul.c51 unsigned long acc, cutoff; in strtoul() local
81 for (acc = 0, any = 0;; c = (unsigned char) *s++) { in strtoul()
92 if (acc > cutoff || acc == cutoff && c > cutlim) { in strtoul()
94 acc = ULONG_MAX; in strtoul()
98 acc *= (unsigned long)base; in strtoul()
99 acc += c; in strtoul()
103 acc = -acc; in strtoul()
106 return (acc); in strtoul()
Dstrtoull.c53 unsigned long long acc, cutoff; in strtoull() local
83 for (acc = 0, any = 0;; c = (unsigned char) *s++) { in strtoull()
94 if (acc > cutoff || (acc == cutoff && c > cutlim)) { in strtoull()
96 acc = ULLONG_MAX; in strtoull()
100 acc *= (unsigned long long)base; in strtoull()
101 acc += c; in strtoull()
105 acc = -acc; in strtoull()
108 return (acc); in strtoull()
/external/tensorflow/tensorflow/lite/kernels/internal/reference/
Dfully_connected.h96 int32 acc = 0; in FullyConnected() local
100 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
103 acc += bias_data[out_c]; in FullyConnected()
105 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in FullyConnected()
106 acc += output_offset; in FullyConnected()
107 acc = std::max(acc, output_activation_min); in FullyConnected()
108 acc = std::min(acc, output_activation_max); in FullyConnected()
109 output_data[out_c + output_depth * b] = static_cast<uint8>(acc); in FullyConnected()
252 int32 acc = accum[i] + bias_data[c + i]; in ShuffledFullyConnected() local
257 acc = in ShuffledFullyConnected()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LoopPredication/
Dnested.ll16 %outer.loop.acc = phi i32 [ %outer.loop.acc.next, %outer.loop.inc ], [ 0, %outer.loop.preheader ]
32 …%inner.loop.acc = phi i32 [ %inner.loop.acc.next, %inner.loop ], [ %outer.loop.acc, %inner.loop.pr…
41 %inner.loop.acc.next = add i32 %inner.loop.acc, %array.j
48 …%outer.loop.acc.next = phi i32 [ %inner.loop.acc.next, %inner.loop ], [ %outer.loop.acc, %outer.lo…
54 %result = phi i32 [ 0, %entry ], [ %outer.loop.acc.next, %outer.loop.inc ]
73 %outer.loop.acc = phi i32 [ %outer.loop.acc.next, %outer.loop.inc ], [ 0, %outer.loop.preheader ]
85 …%inner.loop.acc = phi i32 [ %inner.loop.acc.next, %inner.loop ], [ %outer.loop.acc, %inner.loop.pr…
94 %inner.loop.acc.next = add i32 %inner.loop.acc, %array.i
101 …%outer.loop.acc.next = phi i32 [ %inner.loop.acc.next, %inner.loop ], [ %outer.loop.acc, %outer.lo…
107 %result = phi i32 [ 0, %entry ], [ %outer.loop.acc.next, %outer.loop.inc ]
[all …]
Dbasic.ll23 %loop.acc = phi i32 [ %loop.acc.next, %loop ], [ 0, %loop.preheader ]
31 %loop.acc.next = add i32 %loop.acc, %array.i
38 %result = phi i32 [ 0, %entry ], [ %loop.acc.next, %loop ]
59 %loop.acc = phi i32 [ %loop.acc.next, %loop ], [ 0, %loop.preheader ]
67 %loop.acc.next = add i32 %loop.acc, %array.i
74 %result = phi i32 [ 0, %entry ], [ %loop.acc.next, %loop ]
95 %loop.acc = phi i32 [ %loop.acc.next, %loop ], [ 0, %loop.preheader ]
103 %loop.acc.next = add i32 %loop.acc, %array.i
110 %result = phi i32 [ 0, %entry ], [ %loop.acc.next, %loop ]
131 %loop.acc = phi i32 [ %loop.acc.next, %loop ], [ 0, %loop.preheader ]
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/reference/integer_ops/
Dmean.h55 int32 acc = 0; in Mean() local
58 acc += input_data[Offset(input_shape, out_b, in_h, in_w, out_d)] - in Mean()
62 acc = MultiplyByQuantizedMultiplier(acc, multiplier, shift); in Mean()
63 acc = acc > 0 ? (acc + num_elements_in_axis / 2) / num_elements_in_axis in Mean()
64 : (acc - num_elements_in_axis / 2) / num_elements_in_axis; in Mean()
65 acc += output_zero_point; in Mean()
66 acc = std::min(std::max(acc, kMinInt8), kMaxInt8); in Mean()
68 static_cast<int8_t>(acc); in Mean()
Dfully_connected.h48 int32 acc = 0; in FullyConnected() local
52 acc += (filter_val + filter_offset) * (input_val + input_offset); in FullyConnected()
55 acc += bias_data[out_c]; in FullyConnected()
57 acc = MultiplyByQuantizedMultiplier(acc, output_multiplier, output_shift); in FullyConnected()
58 acc += output_offset; in FullyConnected()
59 acc = std::max(acc, output_activation_min); in FullyConnected()
60 acc = std::min(acc, output_activation_max); in FullyConnected()
61 output_data[out_c + output_depth * b] = static_cast<int8_t>(acc); in FullyConnected()
/external/tensorflow/tensorflow/python/keras/utils/
Ddata_utils_test.py161 acc = []
163 acc.append(int(next(gen_output)[0, 0, 0, 0]))
165 self.assertEqual(len(set(acc) - set(range(100))), 0)
177 acc = []
179 acc.append(int(next(gen_output)[0, 0, 0, 0]))
180 self.assertNotEqual(acc, list(range(100)))
209 acc = []
211 acc.append(next(gen_output)[0, 0, 0, 0])
212 self.assertEqual(acc, list(range(100)))
220 acc = []
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/Hexagon/
Dintrinsics-v60-vmpy-acc.ll11 %1 = tail call <32 x i32> @llvm.hexagon.V6.vtmpyb.acc(<32 x i32> %0, <32 x i32> %a, i32 %b)
21 %1 = tail call <32 x i32> @llvm.hexagon.V6.vtmpybus.acc(<32 x i32> %0, <32 x i32> %a, i32 %b)
31 %1 = tail call <32 x i32> @llvm.hexagon.V6.vtmpyhb.acc(<32 x i32> %0, <32 x i32> %a, i32 %b)
41 %1 = tail call <16 x i32> @llvm.hexagon.V6.vdmpyhb.acc(<16 x i32> %0, <16 x i32> %a, i32 %b)
51 %1 = tail call <16 x i32> @llvm.hexagon.V6.vrmpyub.acc(<16 x i32> %0, <16 x i32> %a, i32 %b)
61 %1 = tail call <16 x i32> @llvm.hexagon.V6.vrmpybus.acc(<16 x i32> %0, <16 x i32> %a, i32 %b)
71 %1 = tail call <16 x i32> @llvm.hexagon.V6.vdmpybus.acc(<16 x i32> %0, <16 x i32> %a, i32 %b)
81 %1 = tail call <32 x i32> @llvm.hexagon.V6.vdmpybus.dv.acc(<32 x i32> %0, <32 x i32> %a, i32 %b)
91 %1 = tail call <16 x i32> @llvm.hexagon.V6.vdmpyhsusat.acc(<16 x i32> %0, <16 x i32> %a, i32 %b)
101 %1 = tail call <16 x i32> @llvm.hexagon.V6.vdmpyhsuisat.acc(<16 x i32> %0, <32 x i32> %a, i32 %b)
[all …]
/external/libunwind/tests/
Dtest-proc-info.c128 unw_accessors_t acc; in main() local
136 memset (&acc, 0, sizeof (acc)); in main()
137 acc.find_proc_info = find_proc_info; in main()
138 acc.put_unwind_info = put_unwind_info; in main()
139 acc.get_dyn_info_list_addr = get_dyn_info_list_addr; in main()
140 acc.access_mem = access_mem; in main()
141 acc.access_reg = access_reg; in main()
142 acc.access_fpreg = access_fpreg; in main()
143 acc.resume = resume; in main()
144 acc.get_proc_name = get_proc_name; in main()
[all …]
/external/harfbuzz_ng/src/
Dhb-subset-cff1.cc463 …unsigned int plan_subset_encoding (const OT::cff1::accelerator_subset_t &acc, hb_subset_plan_t *pl… in plan_subset_encoding()
465 const Encoding *encoding = acc.encoding; in plan_subset_encoding()
479 code = acc.glyph_to_code (orig_glyph); in plan_subset_encoding()
495 hb_codepoint_t sid = acc.glyph_to_sid (orig_glyph); in plan_subset_encoding()
524 …unsigned int plan_subset_charset (const OT::cff1::accelerator_subset_t &acc, hb_subset_plan_t *pla… in plan_subset_charset()
534 sid = acc.glyph_to_sid (orig_glyph); in plan_subset_charset()
536 if (!acc.is_CID ()) in plan_subset_charset()
567 bool collect_sids_in_dicts (const OT::cff1::accelerator_subset_t &acc) in collect_sids_in_dicts()
569 if (unlikely (!sidmap.reset (acc.stringIndex->count))) in collect_sids_in_dicts()
574 unsigned int sid = acc.topDict.nameSIDs[i]; in collect_sids_in_dicts()
[all …]
/external/gemmlowp/internal/
Dsimd_wrappers_neon.h116 inline void MulAdd(Int32x4 lhs, Int32x4 rhs, Int32x4* acc) {
117 *acc = vmlaq_s32(*acc, lhs, rhs);
120 inline void MulAdd(Int32x4 lhs, std::int32_t rhs, Int32x4* acc) {
121 *acc = vmlaq_n_s32(*acc, lhs, rhs);
125 inline void MulAddByRhsLane(Int32x4 lhs, Int32x4 rhs, Int32x4* acc) {
128 *acc = vmlaq_lane_s32(*acc, lhs, vget_low_s32(rhs), 0);
131 *acc = vmlaq_lane_s32(*acc, lhs, vget_low_s32(rhs), 1);
134 *acc = vmlaq_lane_s32(*acc, lhs, vget_high_s32(rhs), 0);
137 *acc = vmlaq_lane_s32(*acc, lhs, vget_high_s32(rhs), 1);

12345678910>>...18