Home
last modified time | relevance | path

Searched refs:l (Results 1 – 25 of 37) sorted by relevance

12

/cmsis-dsp-latest/Source/TransformFunctions/
Darm_cfft_radix2_q31.c92 unsigned i, j, k, l, m; in arm_radix2_butterfly_q31() local
111 l = i + n2; in arm_radix2_butterfly_q31()
112 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_radix2_butterfly_q31()
113 pSrc[2 * i] = ((pSrc[2 * i] >> 1U) + (pSrc[2 * l] >> 1U)) >> 1U; in arm_radix2_butterfly_q31()
115 yt = (pSrc[2 * i + 1] >> 1U) - (pSrc[2 * l + 1] >> 1U); in arm_radix2_butterfly_q31()
117 ((pSrc[2 * l + 1] >> 1U) + (pSrc[2 * i + 1] >> 1U)) >> 1U; in arm_radix2_butterfly_q31()
124 pSrc[2U * l] = p0; in arm_radix2_butterfly_q31()
125 pSrc[2U * l + 1U] = p1; in arm_radix2_butterfly_q31()
150 l = i + n2; in arm_radix2_butterfly_q31()
151 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_q31()
[all …]
Darm_cfft_radix2_f32.c117 uint32_t i, j, k, l; in arm_radix2_butterfly_f32() local
141 l = i + n2; in arm_radix2_butterfly_f32()
144 a0 = pSrc[2 * i] + pSrc[2 * l]; in arm_radix2_butterfly_f32()
145 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_radix2_butterfly_f32()
147 yt = pSrc[2 * i + 1] - pSrc[2 * l + 1]; in arm_radix2_butterfly_f32()
148 a1 = pSrc[2 * l + 1] + pSrc[2 * i + 1]; in arm_radix2_butterfly_f32()
158 pSrc[2 * l] = p0 + p1; in arm_radix2_butterfly_f32()
159 pSrc[2 * l + 1] = p2 - p3; in arm_radix2_butterfly_f32()
185 l = i + n2; in arm_radix2_butterfly_f32()
186 a0 = pSrc[2 * i] + pSrc[2 * l]; in arm_radix2_butterfly_f32()
[all …]
Darm_cfft_radix2_q15.c91 uint32_t i, j, k, l; in arm_radix2_butterfly_q15() local
111 l = i + n2; in arm_radix2_butterfly_q15()
117 S = read_q15x2 (pSrc + (2 * l)); in arm_radix2_butterfly_q15()
133 write_q15x2 (pSrc + (2U * l), (q31_t) ((out2) & 0xFFFF0000) | (out1 & 0x0000FFFF)); in arm_radix2_butterfly_q15()
141 l++; in arm_radix2_butterfly_q15()
147 S = read_q15x2 (pSrc + (2 * l)); in arm_radix2_butterfly_q15()
164 write_q15x2 (pSrc + (2U * l), (q31_t) ((out2) & 0xFFFF0000) | (out1 & 0x0000FFFF)); in arm_radix2_butterfly_q15()
187 l = i + n2; in arm_radix2_butterfly_q15()
191 S = read_q15x2 (pSrc + (2 * l)); in arm_radix2_butterfly_q15()
205 write_q15x2 (pSrc + (2U * l), (q31_t) ((out2) & 0xFFFF0000) | (out1 & 0x0000FFFF)); in arm_radix2_butterfly_q15()
[all …]
Darm_cfft_radix2_f16.c124 uint32_t i, j, k, l; in arm_radix2_butterfly_f16() local
148 l = i + n2; in arm_radix2_butterfly_f16()
151 a0 = (_Float16)pSrc[2 * i] + (_Float16)pSrc[2 * l]; in arm_radix2_butterfly_f16()
152 xt = (_Float16)pSrc[2 * i] - (_Float16)pSrc[2 * l]; in arm_radix2_butterfly_f16()
154 yt = (_Float16)pSrc[2 * i + 1] - (_Float16)pSrc[2 * l + 1]; in arm_radix2_butterfly_f16()
155 a1 = (_Float16)pSrc[2 * l + 1] + (_Float16)pSrc[2 * i + 1]; in arm_radix2_butterfly_f16()
165 pSrc[2 * l] = (_Float16)p0 + (_Float16)p1; in arm_radix2_butterfly_f16()
166 pSrc[2 * l + 1] = (_Float16)p2 - (_Float16)p3; in arm_radix2_butterfly_f16()
192 l = i + n2; in arm_radix2_butterfly_f16()
193 a0 = (_Float16)pSrc[2 * i] + (_Float16)pSrc[2 * l]; in arm_radix2_butterfly_f16()
[all …]
Darm_cfft_f64.c194 uint32_t i, l; in arm_cfft_radix4by2_f64() local
207 l = i + n2; in arm_cfft_radix4by2_f64()
210 a0 = pSrc[2 * i] + pSrc[2 * l]; in arm_cfft_radix4by2_f64()
211 xt = pSrc[2 * i] - pSrc[2 * l]; in arm_cfft_radix4by2_f64()
213 yt = pSrc[2 * i + 1] - pSrc[2 * l + 1]; in arm_cfft_radix4by2_f64()
214 a1 = pSrc[2 * l + 1] + pSrc[2 * i + 1]; in arm_cfft_radix4by2_f64()
224 pSrc[2 * l] = p0 + p1; in arm_cfft_radix4by2_f64()
225 pSrc[2 * l + 1] = p2 - p3; in arm_cfft_radix4by2_f64()
259 uint32_t L = S->fftLen, l; in arm_cfft_f64() local
266 for(l=0; l<L; l++) in arm_cfft_f64()
[all …]
Darm_cfft_q31.c724 uint32_t i, l; in arm_cfft_radix4by2_q31() local
735 l = i + n2; in arm_cfft_radix4by2_q31()
737 xt = (pSrc[2 * i] >> 2U) - (pSrc[2 * l] >> 2U); in arm_cfft_radix4by2_q31()
738 pSrc[2 * i] = (pSrc[2 * i] >> 2U) + (pSrc[2 * l] >> 2U); in arm_cfft_radix4by2_q31()
740 yt = (pSrc[2 * i + 1] >> 2U) - (pSrc[2 * l + 1] >> 2U); in arm_cfft_radix4by2_q31()
741 pSrc[2 * i + 1] = (pSrc[2 * l + 1] >> 2U) + (pSrc[2 * i + 1] >> 2U); in arm_cfft_radix4by2_q31()
748 pSrc[2 * l] = p0 << 1; in arm_cfft_radix4by2_q31()
749 pSrc[2 * l + 1] = p1 << 1; in arm_cfft_radix4by2_q31()
785 uint32_t i, l; in arm_cfft_radix4by2_inverse_q31() local
796 l = i + n2; in arm_cfft_radix4by2_inverse_q31()
[all …]
Darm_cfft_q15.c703 uint32_t l; in arm_cfft_radix4by2_q15() local
743 l = i + n2; in arm_cfft_radix4by2_q15()
745 xt = (pSrc[2 * i] >> 1U) - (pSrc[2 * l] >> 1U); in arm_cfft_radix4by2_q15()
746 pSrc[2 * i] = ((pSrc[2 * i] >> 1U) + (pSrc[2 * l] >> 1U)) >> 1U; in arm_cfft_radix4by2_q15()
748 yt = (pSrc[2 * i + 1] >> 1U) - (pSrc[2 * l + 1] >> 1U); in arm_cfft_radix4by2_q15()
749 pSrc[2 * i + 1] = ((pSrc[2 * l + 1] >> 1U) + (pSrc[2 * i + 1] >> 1U)) >> 1U; in arm_cfft_radix4by2_q15()
751 pSrc[2 * l] = (((int16_t) (((q31_t) xt * cosVal) >> 16U)) + in arm_cfft_radix4by2_q15()
754 pSrc[2 * l + 1] = (((int16_t) (((q31_t) yt * cosVal) >> 16U)) - in arm_cfft_radix4by2_q15()
802 uint32_t l; in arm_cfft_radix4by2_inverse_q15() local
842 l = i + n2; in arm_cfft_radix4by2_inverse_q15()
[all …]
Darm_cfft_f32.c765 uint32_t l; in arm_cfft_radix8by2_f32() local
778 for (l = L >> 2; l > 0; l-- ) in arm_cfft_radix8by2_f32()
882 uint32_t l, twMod2, twMod3, twMod4; in arm_cfft_radix8by4_f32() local
934 for (l = (L - 2) >> 1; l > 0; l-- ) in arm_cfft_radix8by4_f32()
1137 uint32_t L = S->fftLen, l; in arm_cfft_f32() local
1144 for (l = 0; l < L; l++) in arm_cfft_f32()
1179 for (l= 0; l < L; l++) in arm_cfft_f32()
Darm_cfft_f16.c625 uint32_t L = S->fftLen, l; in arm_cfft_f16() local
632 for(l=0; l<L; l++) in arm_cfft_f16()
667 for(l=0; l<L; l++) in arm_cfft_f16()
/cmsis-dsp-latest/Testing/PatternGeneration/
DDebugTools.py6 l = []
15 l.append(r)
16 l = (1.0*np.array(l)) / 2**31
18 return(l)
21 l = []
30 l.append(r)
31 l = (1.0*np.array(l)) / 2**15
33 return(l)
43 l = []
49 l.append(hex2float(f.readline()))
[all …]
DQuaternion.py8 def flattenQuat(l): argument
9 return(np.array([list(x) for x in l]).reshape(4*len(l)))
11 def flattenRot(l): argument
12 return(np.array([list(x) for x in l]).reshape(9*len(l)))
/cmsis-dsp-latest/dsppp/tests/
Dcmsisdsp.cpp23 uint32_t l) in cmsisdsp_add() argument
26 arm_add_f16(a,b,c,l); in cmsisdsp_add()
34 uint32_t l) in cmsisdsp_add() argument
37 arm_add_f64(a,b,c,l); in cmsisdsp_add()
44 uint32_t l) in cmsisdsp_add() argument
46 arm_add_f32(a,b,c,l); in cmsisdsp_add()
55 uint32_t l) in cmsisdsp_add() argument
60 reinterpret_cast<q31_t*>(c),l); in cmsisdsp_add()
67 uint32_t l) in cmsisdsp_add() argument
72 reinterpret_cast<q15_t*>(c),l); in cmsisdsp_add()
[all …]
Dcmsis_tests.h120 uint32_t l);
126 uint32_t l);
131 uint32_t l);
136 uint32_t l);
141 uint32_t l);
146 uint32_t l);
179 uint32_t l);
185 uint32_t l);
190 uint32_t l);
195 uint32_t l);
[all …]
Ddebug_test_external.cpp17 int l) in external_debug() argument
19 int nb = l; in external_debug()
46 int l) in external_debug() argument
53 (void)l; in external_debug()
/cmsis-dsp-latest/dsppp/Include/dsppp/Helium/
Dbasic.hpp38 const vector_length_t l, in _Fill() argument
44 for(i=0;i < l; i += nb_lanes) in _Fill()
46 v.vector_store_tail(i,l-i,inner::vconst_tail(val,inner::vctpq<T>::mk(l-i))); in _Fill()
122 const vector_length_t l, in eval() argument
131 for(i=0;i < l; i += nb_lanes) in eval()
133 v.vector_store_tail(i,l-i,other.vector_op_tail(i,l-i)); in eval()
254 const vector_length_t l, in _dot() argument
268 for(index_t i=0; i<l; i+=nb_lanes) in _dot()
270 … acc = inner::vmacc(acc,a.vector_op_tail(i,l-i),b.vector_op_tail(i,l-i),inner::vctpq<T>::mk(l-i)); in _dot()
292 const vector_length_t l, in _swap() argument
[all …]
/cmsis-dsp-latest/dsppp/
Dprocess.py22 for l in lines:
24 if re.match('Error',l):
31 if re.match(r'^[a-zA-Z]+.*$',l):
33 test_name = l.strip("\n")
38 if re.match(r'----',l):
41 if re.match(r'^[a-zA-Z]+.*$',l):
43 test_name = l.strip("\n")
47 dimensions = l.strip("\n")
51 m = re.match(r'Cycle count = ([0-9]+)',l)
57 if re.match(r'----',l):
[all …]
Drun_all.py268 for l in lines:
269 if re.match(r"^ALLOC_POOL.*$",l):
270 alloc_cpp.append(l.strip())
271 if re.match(r"^POOL.*$",l):
272 alloc_h.append(l.strip())
280 for l in alloc_h:
281 print(l,file=h)
287 for l in alloc_cpp:
288 print(l,file=h)
298 for l in lines:
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/Scalar/
Dbasic.hpp33 vector_length_t l, in _Fill() argument
40 for(i=0 ; i <= l-(1<<U); i += (1<<U)) in _Fill()
48 for(; i < l ; i++) in _Fill()
117 const vector_length_t l, in eval() argument
123 for(i=0 ; i <= l-(1<<U); i += (1<<U)) in eval()
131 for(; i < l ; i++) in eval()
201 const vector_length_t l, in _dot() argument
210 for(i=0 ; i <= l-(1<<U); i += (1<<U)) in _dot()
218 for(; i < l ; i++) in _dot()
241 const vector_length_t l, in _swap() argument
[all …]
/cmsis-dsp-latest/Testing/
DprocessResult.py319 for l in results:
320 if re.match(r'^.*D:[ ].*$',l):
322 if re.match(r'^.*D:[ ]END$',l):
328 m = re.match(r'^.*D:[ ](.*)$',l)
334 m = re.match(r'^.*D:[ ](.*)$',l)
398 for l in results:
399 l = l.strip()
400 if not re.match(r'^.*D:[ ].*$',l):
402 if len(l) > 0:
406 if re.match(r'^%s[gs][ ]+[0-9]+.*$' % prefix,l):
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/DSP/
Dbasic.hpp29 vector_length_t l, in _Fill() argument
35 for(i=0 ; i <= l-(nb_lanes<<DSP_UNROLL); i += (nb_lanes<<DSP_UNROLL)) in _Fill()
43 for(; i < l ; i++) in _Fill()
111 const vector_length_t l, in eval() argument
119 for(i=0 ; i <= l-(nb_lanes<<U); i += (nb_lanes<<U)) in eval()
127 for(; i < l ; i++) in eval()
188 const vector_length_t l, in _dot() argument
201 for(i=0 ; i <= l-(nb_lanes<<U); i += (nb_lanes<<U)) in _dot()
211 for(; i < l ; i++) in _dot()
224 const vector_length_t l, in _swap() argument
[all …]
/cmsis-dsp-latest/dsppp/Include/dsppp/
Dmemory_pool.hpp343 ListElem *l = reinterpret_cast<ListElem*>(buf); in recycle_buffer() local
345 if (l == nullptr) in recycle_buffer()
350 l->next = free; in recycle_buffer()
351 free = l; in recycle_buffer()
362 ListElem *l=reinterpret_cast<ListElem*>(buffer_list[i]); in reset() local
363 l->next = reinterpret_cast<ListElem*>(buffer_list[i+1]); in reset()
365 ListElem *l=reinterpret_cast<ListElem*>(buffer_list[nbBufs-1]); in reset() local
366 l->next = nullptr; in reset()
Dvector_impl.hpp337 Vector(const std::initializer_list<P> &l) in Vector()
339 std::memcpy(Vector_Base<P>::values_,l.data(),vector_size); in Vector()
669 explicit Vector(const std::initializer_list<P> &l) in Vector()
670 :Vector_Base<P>(l.size(),Vector::allocate(l.size())){ in Vector()
671 std::memcpy(Vector_Base<P>::values_,l.data(),sizeof(P)*l.size()); in Vector()
Dalgorithms.hpp289 Matrix<P,DYNAMIC,DYNAMIC,TMP_ALLOC> mk_identity(const vector_length_t l) in mk_identity() argument
291 Matrix<P,DYNAMIC,DYNAMIC,TMP_ALLOC> res(l,l); in mk_identity()
292 _identity(res,l); in mk_identity()
/cmsis-dsp-latest/dsppp/Include/dsppp/Neon/
Dbasic.hpp14 const std::size_t l,
34 blkCnt = l >> lanes_shift;
56 blkCnt = l & lanes_mask;
79 const std::size_t l,
99 blkCnt = l >> lanes_shift;
123 blkCnt = l & lanes_mask;
/cmsis-dsp-latest/Source/SupportFunctions/
Darm_heap_sort_f32.c38 uint32_t l = 2*i + 1; // left = 2*i + 1 in arm_heapify() local
42 if (l < n && dir==(pSrc[l] > pSrc[k]) ) in arm_heapify()
43 k = l; in arm_heapify()

12