Home
last modified time | relevance | path

Searched refs:x (Results 1 – 25 of 48) sorted by relevance

12

/cmsis-2.7.6/CMSIS/DSP/Include/dsp/
Dnone.h137 q63_t x) in clip_q63_to_q31() argument
139 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q31()
140 ((0x7FFFFFFF ^ ((q31_t) (x >> 63)))) : (q31_t) x; in clip_q63_to_q31()
147 q63_t x) in clip_q63_to_q15() argument
149 return ((q31_t) (x >> 32) != ((q31_t) x >> 31)) ? in clip_q63_to_q15()
150 ((0x7FFF ^ ((q15_t) (x >> 63)))) : (q15_t) (x >> 15); in clip_q63_to_q15()
157 q31_t x) in clip_q31_to_q7() argument
159 return ((q31_t) (x >> 24) != ((q31_t) x >> 23)) ? in clip_q31_to_q7()
160 ((0x7F ^ ((q7_t) (x >> 31)))) : (q7_t) x; in clip_q31_to_q7()
167 q31_t x) in clip_q31_to_q15() argument
[all …]
Dfast_math_functions.h79 float32_t x);
88 q31_t x);
97 q15_t x);
114 float32_t x);
123 q31_t x);
132 q15_t x);
Dinterpolation_functions.h117 const float32_t * x; /**< x values */ member
162 const float32_t * x,
189 float32_t x);
206 q31_t x,
224 q31_t x,
241 q31_t x,
Dsvm_functions.h42 #define STEP(x) (x) <= 0 ? 0 : 1 argument
65 __STATIC_INLINE float32_t arm_exponent_f32(float32_t x, int32_t nb) in arm_exponent_f32() argument
67 float32_t r = x; in arm_exponent_f32()
71 r = r * x; in arm_exponent_f32()
Dsvm_functions_f16.h44 #define STEP(x) (x) <= 0 ? 0 : 1 argument
67 __STATIC_INLINE float16_t arm_exponent_f16(float16_t x, int32_t nb) in arm_exponent_f16() argument
69 float16_t r = x; in arm_exponent_f16()
73 r = r * x; in arm_exponent_f16()
/cmsis-2.7.6/CMSIS/DSP/Include/
Darm_vec_math.h47 f32x4_t x) in vrecip_medprec_f32() argument
52 f32x4_t ax = vabsq(x); in vrecip_medprec_f32()
69 xinv.f = vdupq_m(xinv.f, INFINITY, vcmpeqq(x, 0.0f)); in vrecip_medprec_f32()
73 xinv.f = vnegq_m(xinv.f, xinv.f, vcmpltq(x, 0.0f)); in vrecip_medprec_f32()
80 f32x4_t x) in vrecip_hiprec_f32() argument
85 f32x4_t ax = vabsq(x); in vrecip_hiprec_f32()
106 xinv.f = vdupq_m(xinv.f, INFINITY, vcmpeqq(x, 0.0f)); in vrecip_hiprec_f32()
110 xinv.f = vnegq_m(xinv.f, xinv.f, vcmpltq(x, 0.0f)); in vrecip_hiprec_f32()
129 f32x4_t x, in vtaylor_polyq_f32() argument
132 f32x4_t A = vfmasq(vdupq_n_f32(coeffs[4]), x, coeffs[0]); in vtaylor_polyq_f32()
[all …]
Darm_vec_math_f16.h48 f16x8_t x) in vrecip_medprec_f16() argument
53 f16x8_t ax = vabsq(x); in vrecip_medprec_f16()
71 xinv.f = vdupq_m(xinv.f, F16INFINITY, vcmpeqq(x, 0.0f)); in vrecip_medprec_f16()
75 xinv.f = vnegq_m(xinv.f, xinv.f, vcmpltq(x, 0.0f)); in vrecip_medprec_f16()
82 f16x8_t x) in vrecip_hiprec_f16() argument
87 f16x8_t ax = vabsq(x); in vrecip_hiprec_f16()
108 xinv.f = vdupq_m(xinv.f, F16INFINITY, vcmpeqq(x, 0.0f)); in vrecip_hiprec_f16()
112 xinv.f = vnegq_m(xinv.f, xinv.f, vcmpltq(x, 0.0f)); in vrecip_hiprec_f16()
132 float16x8_t x, in vtaylor_polyq_f16() argument
135 float16x8_t A = vfmasq(vdupq_n_f16(coeffs[4]), x, coeffs[0]); in vtaylor_polyq_f16()
[all …]
/cmsis-2.7.6/CMSIS/DSP/Source/InterpolationFunctions/
Darm_spline_interp_f32.c152 const float32_t * x = S->x; in arm_spline_f32() local
185 xiv = vdupq_n_f32(x[i]); in arm_spline_f32()
192 while( *(pXq+4) <= x[i+1] && blkCnt > 4 ) in arm_spline_f32()
220 while( *pXq <= x[i+1] && blkCnt > 0 ) in arm_spline_f32()
224 …*pDst = y[i]+b[i]*(x_sc-x[i])+c[i]*(x_sc-x[i])*(x_sc-x[i])+d[i]*(x_sc-x[i])*(x_sc-x[i])*(x_sc-x[i]… in arm_spline_f32()
274 …*pDst = y[i-1]+b[i-1]*(x_sc-x[i-1])+c[i-1]*(x_sc-x[i-1])*(x_sc-x[i-1])+d[i-1]*(x_sc-x[i-1])*(x_sc- in arm_spline_f32()
Darm_spline_interp_init_f32.c68 const float32_t * x, in arm_spline_init_f32() argument
94 S->x = x; in arm_spline_init_f32()
111 hm1 = x[1] - x[0]; /* Initialize h(i-1) = h(1) = x(2)-x(1) */ in arm_spline_init_f32()
116 hi = x[i+1]-x[i]; in arm_spline_init_f32()
156 hi = x[i+1]-x[i]; in arm_spline_init_f32()
Darm_linear_interp_q7.c55 q31_t x, in arm_linear_interp_q7() argument
66 if (x < 0) in arm_linear_interp_q7()
70 index = (x >> 20) & 0xfff; in arm_linear_interp_q7()
80 fract = (x & 0x000FFFFF); in arm_linear_interp_q7()
Darm_linear_interp_q15.c55 q31_t x, in arm_linear_interp_q15() argument
66 index = ((x & (int32_t)0xFFF00000) >> 20); in arm_linear_interp_q15()
80 fract = (x & 0x000FFFFF); in arm_linear_interp_q15()
Darm_linear_interp_q31.c56 q31_t x, in arm_linear_interp_q31() argument
67 index = ((x & (q31_t)0xFFF00000) >> 20); in arm_linear_interp_q31()
81 fract = (x & 0x000FFFFF) << 11; in arm_linear_interp_q31()
/cmsis-2.7.6/CMSIS/DSP/Source/FastMathFunctions/
Darm_cos_q15.c50 q15_t x) in arm_cos_q15() argument
58 x = (uint16_t)x + 0x2000; in arm_cos_q15()
59 if (x < 0) in arm_cos_q15()
61 x = (uint16_t)x + 0x8000; in arm_cos_q15()
65 index = (uint32_t)x >> FAST_MATH_Q15_SHIFT; in arm_cos_q15()
68 fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; in arm_cos_q15()
Darm_cos_q31.c50 q31_t x) in arm_cos_q31() argument
58 x = (uint32_t)x + 0x20000000; in arm_cos_q31()
59 if (x < 0) in arm_cos_q31()
61 x = (uint32_t)x + 0x80000000; in arm_cos_q31()
65 index = (uint32_t)x >> FAST_MATH_Q31_SHIFT; in arm_cos_q31()
68 fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; in arm_cos_q31()
Darm_sin_q15.c50 q15_t x) in arm_sin_q15() argument
58 if (x < 0) in arm_sin_q15()
60 x = (uint16_t)x + 0x8000; in arm_sin_q15()
64 index = (uint32_t)x >> FAST_MATH_Q15_SHIFT; in arm_sin_q15()
67 fract = (x - (index << FAST_MATH_Q15_SHIFT)) << 9; in arm_sin_q15()
Darm_sin_q31.c50 q31_t x) in arm_sin_q31() argument
57 if (x < 0) in arm_sin_q31()
59 x = (uint32_t)x + 0x80000000; in arm_sin_q31()
63 index = (uint32_t)x >> FAST_MATH_Q31_SHIFT; in arm_sin_q31()
66 fract = (x - (index << FAST_MATH_Q31_SHIFT)) << 9; in arm_sin_q31()
/cmsis-2.7.6/CMSIS/Core_R/Include/
Dcmsis_compiler.h93 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
96 #define __ALIGNED(x) __attribute__((aligned(x))) argument
143 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
146 #define __ALIGNED(x) __align(x) argument
192 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
196 #define __ALIGNED(x) argument
/cmsis-2.7.6/CMSIS/Core_A/Include/
Dcmsis_compiler.h93 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
96 #define __ALIGNED(x) __attribute__((aligned(x))) argument
143 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
146 #define __ALIGNED(x) __align(x) argument
192 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
196 #define __ALIGNED(x) argument
/cmsis-2.7.6/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_ldlt_f32.c200 for(int x=k+1;x<n;x += 4) in arm_mat_ldlt_f32() local
207 vecX = vldrwq_gather_shifted_offset_z_f32(&pA[x*n+k], vecOffs, p0); in arm_mat_ldlt_f32()
211 vecA = vldrwq_z_f32(&pA[(w + 0)*n+x],p0); in arm_mat_ldlt_f32()
213 vstrwq_p(&pA[(w + 0)*n+x], vecA, p0); in arm_mat_ldlt_f32()
215 vecA = vldrwq_z_f32(&pA[(w + 1)*n+x],p0); in arm_mat_ldlt_f32()
217 vstrwq_p(&pA[(w + 1)*n+x], vecA, p0); in arm_mat_ldlt_f32()
219 vecA = vldrwq_z_f32(&pA[(w + 2)*n+x],p0); in arm_mat_ldlt_f32()
221 vstrwq_p(&pA[(w + 2)*n+x], vecA, p0); in arm_mat_ldlt_f32()
223 vecA = vldrwq_z_f32(&pA[(w + 3)*n+x],p0); in arm_mat_ldlt_f32()
225 vstrwq_p(&pA[(w + 3)*n+x], vecA, p0); in arm_mat_ldlt_f32()
[all …]
Darm_mat_ldlt_f64.c153 for(int x=k+1;x<n;x++) in arm_mat_ldlt_f64() local
155 pA[w*n+x] = pA[w*n+x] - pA[w*n+k] * pA[x*n+k] / a; in arm_mat_ldlt_f64()
/cmsis-2.7.6/CMSIS/Core/Include/
Dcmsis_compiler.h102 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
121 #define __ALIGNED(x) __attribute__((aligned(x))) argument
174 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
193 #define __ALIGNED(x) __align(x) argument
245 #define __UNALIGNED_UINT32(x) (((struct T_UINT32 *)(x))->v) argument
265 #define __ALIGNED(x) argument
/cmsis-2.7.6/CMSIS/DSP/Source/FilteringFunctions/
Darm_correlate_f32.c435 float32x4_t x,y; in arm_correlate_f32() local
441 x = vld1q_f32(px); in arm_correlate_f32()
444 res = vmlaq_f32(res,x, y); in arm_correlate_f32()
552 float32x4_t x; in arm_correlate_f32() local
579 x = x1v; in arm_correlate_f32()
580 res = vmlaq_n_f32(res,x,c[0]); in arm_correlate_f32()
582 x = vextq_f32(x1v,x2v,1); in arm_correlate_f32()
584 res = vmlaq_n_f32(res,x,c[1]); in arm_correlate_f32()
586 x = vextq_f32(x1v,x2v,2); in arm_correlate_f32()
588 res = vmlaq_n_f32(res,x,c[2]); in arm_correlate_f32()
[all …]
Darm_levinson_durbin_f32.c184 float32_t x,y; in arm_levinson_durbin_f32() local
185 x = a[j] - k * a[p-1-j]; in arm_levinson_durbin_f32()
188 a[j] = x; in arm_levinson_durbin_f32()
197 float32_t x,y; in arm_levinson_durbin_f32() local
198 x = a[j] - k * a[p-1-j]; in arm_levinson_durbin_f32()
201 a[j] = x; in arm_levinson_durbin_f32()
250 float32_t x,y; in arm_levinson_durbin_f32() local
252 x=a[j] - k * a[p-1-j]; in arm_levinson_durbin_f32()
255 a[j] = x; in arm_levinson_durbin_f32()
Darm_conv_f32.c475 float32x4_t x; in arm_conv_f32() local
506 x = x1v; in arm_conv_f32()
507 res = vmlaq_n_f32(res,x,c[3]); in arm_conv_f32()
509 x = vextq_f32(x1v,x2v,1); in arm_conv_f32()
511 res = vmlaq_n_f32(res,x,c[2]); in arm_conv_f32()
513 x = vextq_f32(x1v,x2v,2); in arm_conv_f32()
515 res = vmlaq_n_f32(res,x,c[1]); in arm_conv_f32()
517 x = vextq_f32(x1v,x2v,3); in arm_conv_f32()
519 res = vmlaq_n_f32(res,x,c[0]); in arm_conv_f32()
702 float32x4_t x = vdupq_n_f32(0) ; in arm_conv_f32() local
[all …]
Darm_levinson_durbin_q31.c255 q31_t x,y; in arm_levinson_durbin_q31() local
258 x = a[j] - mul32x32(k,a[p-1-j]); in arm_levinson_durbin_q31()
263 a[j] = x; in arm_levinson_durbin_q31()
273 q31_t x,y; in arm_levinson_durbin_q31() local
276 x = a[j] - mul32x32(k,a[p-1-j]); in arm_levinson_durbin_q31()
281 a[j] = x; in arm_levinson_durbin_q31()
344 q31_t x,y; in arm_levinson_durbin_q31() local
347 x = a[j] - mul32x32(k,a[p-1-j]); in arm_levinson_durbin_q31()
352 a[j] = x; in arm_levinson_durbin_q31()

12