Home
last modified time | relevance | path

Searched refs:q63_t (Results 1 – 25 of 88) sorted by relevance

1234

/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/FilteringFunctions/
Darm_conv_fast_q31.c160 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31()
161 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_fast_q31()
164 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31()
165 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_fast_q31()
168 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31()
169 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_fast_q31()
172 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31()
173 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_fast_q31()
186 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_fast_q31()
187 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_fast_q31()
[all …]
Darm_correlate_fast_q31.c184 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31()
185 ((q63_t) *px++ * (*py++))) >> 32); in arm_correlate_fast_q31()
188 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31()
189 ((q63_t) *px++ * (*py++))) >> 32); in arm_correlate_fast_q31()
192 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31()
193 ((q63_t) *px++ * (*py++))) >> 32); in arm_correlate_fast_q31()
196 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31()
197 ((q63_t) *px++ * (*py++))) >> 32); in arm_correlate_fast_q31()
211 sum = (q31_t) ((((q63_t) sum << 32) + in arm_correlate_fast_q31()
212 ((q63_t) *px++ * (*py++))) >> 32); in arm_correlate_fast_q31()
[all …]
Darm_conv_partial_fast_q31.c179 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31()
180 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_partial_fast_q31()
183 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31()
184 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_partial_fast_q31()
187 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31()
188 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_partial_fast_q31()
191 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31()
192 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_partial_fast_q31()
211 sum = (q31_t) ((((q63_t) sum << 32) + in arm_conv_partial_fast_q31()
212 ((q63_t) *px++ * (*py--))) >> 32); in arm_conv_partial_fast_q31()
[all …]
Darm_fir_decimate_fast_q31.c74 q63_t acc0; /* Accumulator */ in arm_fir_decimate_fast_q31()
81 q63_t acc1, acc2, acc3; in arm_fir_decimate_fast_q31()
138 acc0 = (q31_t) ((((q63_t) acc0 << 32) + ((q63_t) x0 * c0)) >> 32); in arm_fir_decimate_fast_q31()
139 acc1 = (q31_t) ((((q63_t) acc1 << 32) + ((q63_t) x1 * c0)) >> 32); in arm_fir_decimate_fast_q31()
140 acc2 = (q31_t) ((((q63_t) acc2 << 32) + ((q63_t) x2 * c0)) >> 32); in arm_fir_decimate_fast_q31()
141 acc3 = (q31_t) ((((q63_t) acc3 << 32) + ((q63_t) x3 * c0)) >> 32); in arm_fir_decimate_fast_q31()
153 acc0 = (q31_t) ((((q63_t) acc0 << 32) + ((q63_t) x0 * c0)) >> 32); in arm_fir_decimate_fast_q31()
154 acc1 = (q31_t) ((((q63_t) acc1 << 32) + ((q63_t) x1 * c0)) >> 32); in arm_fir_decimate_fast_q31()
155 acc2 = (q31_t) ((((q63_t) acc2 << 32) + ((q63_t) x2 * c0)) >> 32); in arm_fir_decimate_fast_q31()
156 acc3 = (q31_t) ((((q63_t) acc3 << 32) + ((q63_t) x3 * c0)) >> 32); in arm_fir_decimate_fast_q31()
[all …]
Darm_fir_lattice_q31.c100 fnext0 = (q31_t) (((q63_t) gcurr0 * (*pk)) >> 32U); in arm_fir_lattice_q31()
104 gnext0 = (q31_t) (((q63_t) fcurr0 * (*pk)) >> 32U); in arm_fir_lattice_q31()
108 fnext1 = (q31_t) (((q63_t) fcurr0 * (*pk)) >> 32U); in arm_fir_lattice_q31()
110 gnext1 = (q31_t) (((q63_t) fcurr1 * (*pk)) >> 32U); in arm_fir_lattice_q31()
119 fnext2 = (q31_t) (((q63_t) fcurr1 * (*pk)) >> 32U); in arm_fir_lattice_q31()
121 gnext2 = (q31_t) (((q63_t) fcurr2 * (*pk)) >> 32U); in arm_fir_lattice_q31()
125 fnext3 = (q31_t) (((q63_t) fcurr2 * (*pk )) >> 32U); in arm_fir_lattice_q31()
127 gnext3 = (q31_t) (((q63_t) fcurr3 * (*pk++)) >> 32U); in arm_fir_lattice_q31()
158 fnext0 = (q31_t) (((q63_t) gcurr0 * (*pk)) >> 32U); in arm_fir_lattice_q31()
163 fnext1 = (q31_t) (((q63_t) gnext0 * (*pk)) >> 32U); in arm_fir_lattice_q31()
[all …]
Darm_conv_partial_q31.c75 q63_t sum; /* Accumulator */ in arm_conv_partial_q31()
81 q63_t acc0, acc1, acc2; /* Accumulator */ in arm_conv_partial_q31()
182 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31()
185 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31()
188 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31()
191 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31()
210 sum += (q63_t) *px++ * (*py--); in arm_conv_partial_q31()
298 acc0 += (q63_t) x0 * c0; in arm_conv_partial_q31()
300 acc1 += (q63_t) x1 * c0; in arm_conv_partial_q31()
302 acc2 += (q63_t) x2 * c0; in arm_conv_partial_q31()
[all …]
Darm_iir_lattice_q31.c65 q63_t acc; /* Accumlator */ in arm_iir_lattice_q31()
101 fnext = __QSUB(fcurr, (q31_t) (((q63_t) gcurr * (*pk )) >> 31)); in arm_iir_lattice_q31()
104 gnext = __QADD(gcurr, (q31_t) (((q63_t) fnext * (*pk++)) >> 31)); in arm_iir_lattice_q31()
110 acc += ((q63_t) gnext * *pv++); in arm_iir_lattice_q31()
127 fnext = __QSUB(fcurr, (q31_t) (((q63_t) gcurr * (*pk )) >> 31)); in arm_iir_lattice_q31()
129 gnext = __QADD(gcurr, (q31_t) (((q63_t) fnext * (*pk++)) >> 31)); in arm_iir_lattice_q31()
132 acc += ((q63_t) gnext * *pv++); in arm_iir_lattice_q31()
141 fcurr = __QSUB(fnext, (q31_t) (((q63_t) gcurr * (*pk )) >> 31)); in arm_iir_lattice_q31()
143 gnext = __QADD(gcurr, (q31_t) (((q63_t) fcurr * (*pk++)) >> 31)); in arm_iir_lattice_q31()
146 acc += ((q63_t) gnext * *pv++); in arm_iir_lattice_q31()
[all …]
Darm_lms_norm_q31.c80 q63_t acc; /* Accumulator */ in arm_lms_norm_q31()
81 q63_t energy; /* Energy of the input */ in arm_lms_norm_q31()
117 energy = (q31_t) ((((q63_t) energy << 32) - (((q63_t) x0 * x0) << 1)) >> 32); in arm_lms_norm_q31()
118 energy = (q31_t) (((((q63_t) in * in) << 1) + (energy << 32)) >> 32); in arm_lms_norm_q31()
132 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_norm_q31()
135 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_norm_q31()
138 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_norm_q31()
141 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_norm_q31()
160 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_norm_q31()
186 errorXmu = (q31_t) (((q63_t) e * mu) >> 31); in arm_lms_norm_q31()
[all …]
Darm_conv_q31.c243 q63_t sum; /* Accumulators */ in arm_conv_q31()
248 q63_t acc0, acc1, acc2; /* Accumulators */ in arm_conv_q31()
331 sum += (q63_t) *px++ * (*py--); in arm_conv_q31()
334 sum += (q63_t) *px++ * (*py--); in arm_conv_q31()
337 sum += (q63_t) *px++ * (*py--); in arm_conv_q31()
340 sum += (q63_t) *px++ * (*py--); in arm_conv_q31()
359 sum += (q63_t) *px++ * *py--; in arm_conv_q31()
438 acc0 += ((q63_t) x0 * c0); in arm_conv_q31()
440 acc1 += ((q63_t) x1 * c0); in arm_conv_q31()
442 acc2 += ((q63_t) x2 * c0); in arm_conv_q31()
[all …]
Darm_fir_interpolate_q15.c118 q63_t acc0 = 0LL; in arm_fir_interpolate_q15()
119 q63_t acc1 = 0LL; in arm_fir_interpolate_q15()
120 q63_t acc2 = 0LL; in arm_fir_interpolate_q15()
121 q63_t acc3 = 0LL; in arm_fir_interpolate_q15()
182 q63_t acc0 = 0LL; in arm_fir_interpolate_q15()
183 q63_t acc1 = 0LL; in arm_fir_interpolate_q15()
184 q63_t acc2 = 0LL; in arm_fir_interpolate_q15()
237 q63_t acc0 = 0LL; in arm_fir_interpolate_q15()
238 q63_t acc1 = 0LL; in arm_fir_interpolate_q15()
283 q63_t acc0 = 0LL; in arm_fir_interpolate_q15()
[all …]
Darm_fir_interpolate_q31.c115 q63_t acc0 = 0LL; in arm_fir_interpolate_q31()
116 q63_t acc1 = 0LL; in arm_fir_interpolate_q31()
117 q63_t acc2 = 0LL; in arm_fir_interpolate_q31()
118 q63_t acc3 = 0LL; in arm_fir_interpolate_q31()
179 q63_t acc0 = 0LL; in arm_fir_interpolate_q31()
180 q63_t acc1 = 0LL; in arm_fir_interpolate_q31()
181 q63_t acc2 = 0LL; in arm_fir_interpolate_q31()
234 q63_t acc0 = 0LL; in arm_fir_interpolate_q31()
235 q63_t acc1 = 0LL; in arm_fir_interpolate_q31()
280 q63_t acc0 = 0LL; in arm_fir_interpolate_q31()
[all …]
Darm_correlate_q31.c276 q63_t sum; /* Accumulators */ in arm_correlate_q31()
283 q63_t acc0, acc1, acc2; /* Accumulators */ in arm_correlate_q31()
395 sum += (q63_t) *px++ * (*py++); in arm_correlate_q31()
398 sum += (q63_t) *px++ * (*py++); in arm_correlate_q31()
401 sum += (q63_t) *px++ * (*py++); in arm_correlate_q31()
404 sum += (q63_t) *px++ * (*py++); in arm_correlate_q31()
424 sum += (q63_t) *px++ * (*py++); in arm_correlate_q31()
504 acc0 += ((q63_t) x0 * c0); in arm_correlate_q31()
506 acc1 += ((q63_t) x1 * c0); in arm_correlate_q31()
508 acc2 += ((q63_t) x2 * c0); in arm_correlate_q31()
[all …]
Darm_lms_q31.c81 q63_t acc; /* Accumulator */ in arm_lms_q31()
119 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_q31()
122 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_q31()
125 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_q31()
128 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_q31()
147 acc += ((q63_t) (*px++)) * (*pb++); in arm_lms_q31()
170 alpha = (q31_t) (((q63_t) e * mu) >> 31); in arm_lms_q31()
190 coef = (q31_t) (((q63_t) alpha * (*px++)) >> (32)); in arm_lms_q31()
192 *pb = clip_q63_to_q31((q63_t) * pb + (coef << 1U)); in arm_lms_q31()
196 coef = (q31_t) (((q63_t) alpha * (*px++)) >> (32)); in arm_lms_q31()
[all …]
Darm_biquad_cascade_df1_32x64_q31.c186 q63_t *pState = S->pState; /* state pointer initialization */ in arm_biquad_cas_df1_32x64_q31_scalar()
188 q63_t acc; /* accumulator */ in arm_biquad_cas_df1_32x64_q31_scalar()
190 q63_t Yn1, Yn2; /* Output Filter state variables */ in arm_biquad_cas_df1_32x64_q31_scalar()
225 acc = (q63_t) Xn * b0; in arm_biquad_cas_df1_32x64_q31_scalar()
227 acc += (q63_t) Xn1 * b1; in arm_biquad_cas_df1_32x64_q31_scalar()
229 acc += (q63_t) Xn2 * b2; in arm_biquad_cas_df1_32x64_q31_scalar()
275 *pState++ = (q63_t) Xn1; in arm_biquad_cas_df1_32x64_q31_scalar()
276 *pState++ = (q63_t) Xn2; in arm_biquad_cas_df1_32x64_q31_scalar()
292 q63_t *pState = S->pState; /* state pointer initialization */ in arm_biquad_cas_df1_32x64_q31()
295 q63_t Yn1, Yn2; /* Output Filter state variables */ in arm_biquad_cas_df1_32x64_q31()
[all …]
Darm_fir_decimate_q31.c77 q63_t acc0v, acc1v, acc2v, acc3v; in arm_fir_decimate_q31()
318 q63_t acc0; /* Accumulator */ in arm_fir_decimate_q31()
325 q63_t acc1, acc2, acc3; in arm_fir_decimate_q31()
382 acc0 += (q63_t) x0 * c0; in arm_fir_decimate_q31()
383 acc1 += (q63_t) x1 * c0; in arm_fir_decimate_q31()
384 acc2 += (q63_t) x2 * c0; in arm_fir_decimate_q31()
385 acc3 += (q63_t) x3 * c0; in arm_fir_decimate_q31()
397 acc0 += (q63_t) x0 * c0; in arm_fir_decimate_q31()
398 acc1 += (q63_t) x1 * c0; in arm_fir_decimate_q31()
399 acc2 += (q63_t) x2 * c0; in arm_fir_decimate_q31()
[all …]
Darm_biquad_cascade_df1_q31.c331 q63_t acc; /* Accumulator */ in arm_biquad_cascade_df1_q31()
375 …acc = ((q63_t) b0 * Xn) + ((q63_t) b1 * Xn1) + ((q63_t) b2 * Xn2) + ((q63_t) a1 * Yn1) + ((q63_t) … in arm_biquad_cascade_df1_q31()
391 …acc = ((q63_t) b0 * Xn2) + ((q63_t) b1 * Xn) + ((q63_t) b2 * Xn1) + ((q63_t) a1 * Yn2) + ((q63_t) … in arm_biquad_cascade_df1_q31()
407 …acc = ((q63_t) b0 * Xn1) + ((q63_t) b1 * Xn2) + ((q63_t) b2 * Xn) + ((q63_t) a1 * Yn1) + ((q63_t) … in arm_biquad_cascade_df1_q31()
423 …acc = ((q63_t) b0 * Xn) + ((q63_t) b1 * Xn1) + ((q63_t) b2 * Xn2) + ((q63_t) a1 * Yn2) + ((q63_t) … in arm_biquad_cascade_df1_q31()
464 …acc = ((q63_t) b0 * Xn) + ((q63_t) b1 * Xn1) + ((q63_t) b2 * Xn2) + ((q63_t) a1 * Yn1) + ((q63_t) … in arm_biquad_cascade_df1_q31()
Darm_fir_sparse_q31.c77 q63_t out; /* Temporary output variable */ in arm_fir_sparse_q31()
116 *pOut++ = (q31_t) (((q63_t) *px++ * coeff) >> 32); in arm_fir_sparse_q31()
118 *pOut++ = (q31_t) (((q63_t) *px++ * coeff) >> 32); in arm_fir_sparse_q31()
120 *pOut++ = (q31_t) (((q63_t) *px++ * coeff) >> 32); in arm_fir_sparse_q31()
122 *pOut++ = (q31_t) (((q63_t) *px++ * coeff) >> 32); in arm_fir_sparse_q31()
141 *pOut++ = (q31_t) (((q63_t) *px++ * coeff) >> 32); in arm_fir_sparse_q31()
188 out += ((q63_t) *px++ * coeff) >> 32; in arm_fir_sparse_q31()
192 out += ((q63_t) *px++ * coeff) >> 32; in arm_fir_sparse_q31()
196 out += ((q63_t) *px++ * coeff) >> 32; in arm_fir_sparse_q31()
200 out += ((q63_t) *px++ * coeff) >> 32; in arm_fir_sparse_q31()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/ComplexMathFunctions/
Darm_cmplx_dot_prod_q31.c64 q63_t * realResult, in arm_cmplx_dot_prod_q31()
65 q63_t * imagResult) in arm_cmplx_dot_prod_q31()
68 q63_t accReal = 0LL; in arm_cmplx_dot_prod_q31()
69 q63_t accImag = 0LL; in arm_cmplx_dot_prod_q31()
167 q63_t * realResult, in arm_cmplx_dot_prod_q31()
168 q63_t * imagResult) in arm_cmplx_dot_prod_q31()
171 q63_t real_sum = 0, imag_sum = 0; /* Temporary result variables */ in arm_cmplx_dot_prod_q31()
186 real_sum += ((q63_t)a0 * c0) >> 14; in arm_cmplx_dot_prod_q31()
187 imag_sum += ((q63_t)a0 * d0) >> 14; in arm_cmplx_dot_prod_q31()
188 real_sum -= ((q63_t)b0 * d0) >> 14; in arm_cmplx_dot_prod_q31()
[all …]
Darm_cmplx_mult_real_q31.c100 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
101 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
130 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
131 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
134 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
135 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
140 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
141 *pCmplxDst++ = (__SSAT((q31_t) (((q63_t) *pSrcCmplx++ * in) >> 32), 31) << 1); in arm_cmplx_mult_real_q31()
143 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
144 *pCmplxDst++ = (q31_t) clip_q63_to_q31(((q63_t) *pSrcCmplx++ * in) >> 31); in arm_cmplx_mult_real_q31()
[all …]
Darm_cmplx_mult_cmplx_q31.c192 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
193 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
199 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
200 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
206 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
207 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
213 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
214 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
241 *pDst++ = (q31_t) ( (((q63_t) a * c) >> 33) - (((q63_t) b * d) >> 33) ); in arm_cmplx_mult_cmplx_q31()
242 *pDst++ = (q31_t) ( (((q63_t) a * d) >> 33) + (((q63_t) b * c) >> 33) ); in arm_cmplx_mult_cmplx_q31()
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/TransformFunctions/
Darm_cfft_radix4_q31.c227 pSrc[2U * i1] = (((int32_t) (((q63_t) r1 * co2) >> 32)) + in arm_radix4_butterfly_q31()
228 ((int32_t) (((q63_t) s1 * si2) >> 32))) << 1U; in arm_radix4_butterfly_q31()
231 pSrc[(2U * i1) + 1U] = (((int32_t) (((q63_t) s1 * co2) >> 32)) - in arm_radix4_butterfly_q31()
232 ((int32_t) (((q63_t) r1 * si2) >> 32))) << 1U; in arm_radix4_butterfly_q31()
248 pSrc[2U * i2] = (((int32_t) (((q63_t) r1 * co1) >> 32)) + in arm_radix4_butterfly_q31()
249 ((int32_t) (((q63_t) s1 * si1) >> 32))) << 1U; in arm_radix4_butterfly_q31()
252 pSrc[(2U * i2) + 1U] = (((int32_t) (((q63_t) s1 * co1) >> 32)) - in arm_radix4_butterfly_q31()
253 ((int32_t) (((q63_t) r1 * si1) >> 32))) << 1U; in arm_radix4_butterfly_q31()
261 pSrc[2U * i3] = (((int32_t) (((q63_t) r2 * co3) >> 32)) + in arm_radix4_butterfly_q31()
262 ((int32_t) (((q63_t) s2 * si3) >> 32))) << 1U; in arm_radix4_butterfly_q31()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/ControllerFunctions/
Darm_sin_cos_q31.c60 q63_t temp; in arm_sin_cos_q31()
78 temp = Dn * ((q63_t)d1 + d2); in arm_sin_cos_q31()
79 temp = temp - ((q63_t)Df << 32); in arm_sin_cos_q31()
80 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
81 temp = temp + ((3 * (q63_t)Df << 31) - (d2 + ((q63_t)d1 << 1)) * Dn); in arm_sin_cos_q31()
82 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
83 temp = temp + (q63_t)d1 * Dn; in arm_sin_cos_q31()
84 temp = (q63_t)fract * (temp >> 31); in arm_sin_cos_q31()
87 *pCosVal = clip_q63_to_q31((temp >> 31) + (q63_t)f1); in arm_sin_cos_q31()
96 temp = Dn * ((q63_t)d1 + d2); in arm_sin_cos_q31()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_mult_fast_q31.c152 sum1 = (q31_t) ((((q63_t) sum1 << 32) + ((q63_t) inA1 * inB1)) >> 32); in arm_mat_mult_fast_q31()
153 sum2 = (q31_t) ((((q63_t) sum2 << 32) + ((q63_t) inA1 * inB2)) >> 32); in arm_mat_mult_fast_q31()
154 sum3 = (q31_t) ((((q63_t) sum3 << 32) + ((q63_t) inA2 * inB1)) >> 32); in arm_mat_mult_fast_q31()
155 sum4 = (q31_t) ((((q63_t) sum4 << 32) + ((q63_t) inA2 * inB2)) >> 32); in arm_mat_mult_fast_q31()
215 sum1 = (q31_t) ((((q63_t) sum1 << 32) + ((q63_t) *pInA++ * *pInB)) >> 32); in arm_mat_mult_fast_q31()
222 sum1 = (q31_t) ((((q63_t) sum1 << 32) + ((q63_t) *pInA++ * *pInB)) >> 32); in arm_mat_mult_fast_q31()
229 sum1 = (q31_t) ((((q63_t) sum1 << 32) + ((q63_t) *pInA++ * *pInB)) >> 32); in arm_mat_mult_fast_q31()
236 sum1 = (q31_t) ((((q63_t) sum1 << 32) + ((q63_t) *pInA++ * *pInB)) >> 32); in arm_mat_mult_fast_q31()
258 sum1 = (q31_t) ((((q63_t) sum1 << 32) + ((q63_t) *pInA++ * *pInB)) >> 32); in arm_mat_mult_fast_q31()
312 sum1 = (q31_t) ((((q63_t) sum1 << 32) + ((q63_t) inA1 * inB1)) >> 32); in arm_mat_mult_fast_q31()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/StatisticsFunctions/
Darm_var_q31.c68 q63_t sumOfSquares = 0LL; in arm_var_q31()
69 q63_t meanOfSquares, squareOfMean; /* square of mean and mean of square */ in arm_var_q31()
70 q63_t sum = 0LL; in arm_var_q31()
109 sumOfSquares += ((q63_t) (in) * (in)); in arm_var_q31()
119 meanOfSquares = sumOfSquares / (q63_t) (blockSize - 1U); in arm_var_q31()
122 squareOfMean = sum * sum / (q63_t) (blockSize * (blockSize - 1U)); in arm_var_q31()
134 q63_t sum = 0; /* Temporary result storage */ in arm_var_q31()
135 q63_t meanOfSquares, squareOfMean; /* Square of mean and mean of square */ in arm_var_q31()
136 q63_t sumOfSquares = 0; /* Sum of squares */ in arm_var_q31()
157 sumOfSquares += ((q63_t) (in) * (in)); in arm_var_q31()
[all …]
/hal_nxp-3.6.0/mcux/mcux-sdk/CMSIS/DSP/Source/SupportFunctions/
Darm_float_to_q31.c112 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
118 *pDst++ = clip_q63_to_q31((q63_t) (*pSrc++ * 2147483648.0f)); in arm_float_to_q31()
203 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
209 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
246 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
250 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
254 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
258 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31()
264 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
265 *pDst++ = clip_q63_to_q31((q63_t) (*pIn++ * 2147483648.0f)); in arm_float_to_q31()
[all …]

1234