/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/ComplexMathFunctions/ |
A D | arm_cmplx_mag_squared_q31.c | 77 acc0 = (q31_t) (((q63_t) real * real) >> 33); in arm_cmplx_mag_squared_q31() 80 *pDst++ = acc0 + acc1; in arm_cmplx_mag_squared_q31() 84 acc0 = (q31_t) (((q63_t) real * real) >> 33); in arm_cmplx_mag_squared_q31() 87 *pDst++ = acc0 + acc1; in arm_cmplx_mag_squared_q31() 91 acc0 = (q31_t) (((q63_t) real * real) >> 33); in arm_cmplx_mag_squared_q31() 94 *pDst++ = acc0 + acc1; in arm_cmplx_mag_squared_q31() 98 acc0 = (q31_t) (((q63_t) real * real) >> 33); in arm_cmplx_mag_squared_q31() 101 *pDst++ = acc0 + acc1; in arm_cmplx_mag_squared_q31() 116 acc0 = (q31_t) (((q63_t) real * real) >> 33); in arm_cmplx_mag_squared_q31() 119 *pDst++ = acc0 + acc1; in arm_cmplx_mag_squared_q31() [all …]
|
A D | arm_cmplx_mag_squared_q15.c | 57 q31_t acc0, acc1; /* Accumulators */ in arm_cmplx_mag_squared_q15() local 79 acc0 = __SMUAD(in1, in1); in arm_cmplx_mag_squared_q15() 85 *pDst++ = (q15_t) (acc0 >> 17); in arm_cmplx_mag_squared_q15() 102 acc0 = __SMUAD(in1, in1); in arm_cmplx_mag_squared_q15() 105 *pDst++ = (q15_t) (acc0 >> 17); in arm_cmplx_mag_squared_q15() 121 acc0 = (real * real); in arm_cmplx_mag_squared_q15() 124 *pDst++ = (q15_t) (((q63_t) acc0 + acc1) >> 17); in arm_cmplx_mag_squared_q15()
|
A D | arm_cmplx_mag_q15.c | 58 q31_t acc0, acc1; /* Accumulators */ in arm_cmplx_mag_q15() local 82 acc0 = __SMUAD(in1, in1); in arm_cmplx_mag_q15() 88 arm_sqrt_q15((q15_t) ((acc0) >> 17), pDst++); in arm_cmplx_mag_q15() 105 acc0 = __SMUAD(in1, in1); in arm_cmplx_mag_q15() 108 arm_sqrt_q15((q15_t) (acc0 >> 17), pDst++); in arm_cmplx_mag_q15() 125 acc0 = (real * real); in arm_cmplx_mag_q15() 129 arm_sqrt_q15((q15_t) (((q63_t) acc0 + acc1) >> 17), pDst++); in arm_cmplx_mag_q15()
|
/AliOS-Things-master/hardware/chip/rtl872xd/sdk/component/soc/realtek/amebad/cmsis-dsp/Source/FilteringFunctions/ |
A D | arm_fir_q15.c | 115 acc0 = 0; in arm_fir_q15() 144 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_q15() 165 acc0 = __SMLALD(x2, c0, acc0); in arm_fir_q15() 202 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_q15() 248 acc0 = 0; in arm_fir_q15() 264 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_q15() 361 acc0 = 0; in arm_fir_q15() 388 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_q15() 420 acc0 = __SMLALD(x2, c0, acc0); in arm_fir_q15() 458 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_q15() [all …]
|
A D | arm_conv_partial_fast_opt_q15.c | 208 acc0 = 0; in arm_conv_partial_fast_opt_q15() 229 acc0 = __SMLAD(x1, y1, acc0); in arm_conv_partial_fast_opt_q15() 246 acc0 = __SMLAD(x2, y2, acc0); in arm_conv_partial_fast_opt_q15() 338 acc0 = 0; in arm_conv_partial_fast_opt_q15() 351 acc0 = __SMLAD(x1, y1, acc0); in arm_conv_partial_fast_opt_q15() 581 acc0 = 0; in arm_conv_partial_fast_opt_q15() 604 acc0 += (q31_t) x10 *y10; in arm_conv_partial_fast_opt_q15() 605 acc0 += (q31_t) x11 *y11; in arm_conv_partial_fast_opt_q15() 626 acc0 += (q31_t) x20 *y10; in arm_conv_partial_fast_opt_q15() 627 acc0 += (q31_t) x21 *y11; in arm_conv_partial_fast_opt_q15() [all …]
|
A D | arm_conv_partial_opt_q15.c | 202 acc0 = 0; in arm_conv_partial_opt_q15() 223 acc0 = __SMLALD(x1, y1, acc0); in arm_conv_partial_opt_q15() 240 acc0 = __SMLALD(x2, y2, acc0); in arm_conv_partial_opt_q15() 330 acc0 = 0; in arm_conv_partial_opt_q15() 343 acc0 = __SMLALD(x1, y1, acc0); in arm_conv_partial_opt_q15() 575 acc0 = 0; in arm_conv_partial_opt_q15() 598 acc0 += (q63_t) x10 *y10; in arm_conv_partial_opt_q15() 599 acc0 += (q63_t) x11 *y11; in arm_conv_partial_opt_q15() 620 acc0 += (q63_t) x20 *y10; in arm_conv_partial_opt_q15() 621 acc0 += (q63_t) x21 *y11; in arm_conv_partial_opt_q15() [all …]
|
A D | arm_fir_fast_q15.c | 69 q31_t acc0, acc1, acc2, acc3; /* Accumulators */ in arm_fir_fast_q15() local 105 acc0 = 0; in arm_fir_fast_q15() 132 acc0 = __SMLAD(x0, c0, acc0); in arm_fir_fast_q15() 164 acc0 = __SMLAD(x2, c0, acc0); in arm_fir_fast_q15() 202 acc0 = __SMLAD(x0, c0, acc0); in arm_fir_fast_q15() 235 __PKHBT(__SSAT((acc0 >> 15), 16), __SSAT((acc1 >> 15), 16), 16); in arm_fir_fast_q15() 243 __PKHBT(__SSAT((acc1 >> 15), 16), __SSAT((acc0 >> 15), 16), 16); in arm_fir_fast_q15() 267 acc0 = 0; in arm_fir_fast_q15() 278 acc0 += (q31_t) * px++ * *pb++; in arm_fir_fast_q15() 279 acc0 += (q31_t) * px++ * *pb++; in arm_fir_fast_q15() [all …]
|
A D | arm_conv_fast_opt_q15.c | 277 acc0 = 0; in arm_conv_fast_opt_q15() 300 acc0 = __SMLAD(x1, y1, acc0); in arm_conv_fast_opt_q15() 317 acc0 = __SMLAD(x2, y2, acc0); in arm_conv_fast_opt_q15() 360 acc0 = __SMLAD(x1, y1, acc0); in arm_conv_fast_opt_q15() 381 acc0 = __SMLAD(x2, y2, acc0); in arm_conv_fast_opt_q15() 433 acc0 += (*pScr1++ * *pIn2); in arm_conv_fast_opt_q15() 487 acc0 = 0; in arm_conv_fast_opt_q15() 494 acc0 += (*pScr1++ * *pIn2++); in arm_conv_fast_opt_q15() 495 acc0 += (*pScr1++ * *pIn2++); in arm_conv_fast_opt_q15() 508 acc0 += (*pScr1++ * *pIn2++); in arm_conv_fast_opt_q15() [all …]
|
A D | arm_conv_opt_q15.c | 279 acc0 = 0; in arm_conv_opt_q15() 302 acc0 = __SMLALD(x1, y1, acc0); in arm_conv_opt_q15() 319 acc0 = __SMLALD(x2, y2, acc0); in arm_conv_opt_q15() 362 acc0 = __SMLALD(x1, y1, acc0); in arm_conv_opt_q15() 383 acc0 = __SMLALD(x2, y2, acc0); in arm_conv_opt_q15() 434 acc0 += (*pScr1++ * *pIn2); in arm_conv_opt_q15() 486 acc0 = 0; in arm_conv_opt_q15() 494 acc0 += (*pScr1++ * *pIn2++); in arm_conv_opt_q15() 495 acc0 += (*pScr1++ * *pIn2++); in arm_conv_opt_q15() 508 acc0 += (*pScr1++ * *pIn2++); in arm_conv_opt_q15() [all …]
|
A D | arm_correlate_fast_opt_q15.c | 258 acc0 = 0; in arm_correlate_fast_opt_q15() 280 acc0 = __SMLAD(x1, y1, acc0); in arm_correlate_fast_opt_q15() 294 acc0 = __SMLAD(x2, y2, acc0); in arm_correlate_fast_opt_q15() 337 acc0 = __SMLAD(x1, y1, acc0); in arm_correlate_fast_opt_q15() 358 acc0 = __SMLAD(x2, y2, acc0); in arm_correlate_fast_opt_q15() 413 acc0 += (*pScr++ * *pIn2); in arm_correlate_fast_opt_q15() 428 *pOut = (__SSAT(acc0 >> 15u, 16)); in arm_correlate_fast_opt_q15() 455 acc0 = 0; in arm_correlate_fast_opt_q15() 462 acc0 += (*pScr++ * *pIn2++); in arm_correlate_fast_opt_q15() 463 acc0 += (*pScr++ * *pIn2++); in arm_correlate_fast_opt_q15() [all …]
|
A D | arm_correlate_opt_q15.c | 258 acc0 = 0; in arm_correlate_opt_q15() 280 acc0 = __SMLALD(x1, y1, acc0); in arm_correlate_opt_q15() 294 acc0 = __SMLALD(x2, y2, acc0); in arm_correlate_opt_q15() 338 acc0 = __SMLALD(x1, y1, acc0); in arm_correlate_opt_q15() 359 acc0 = __SMLALD(x2, y2, acc0); in arm_correlate_opt_q15() 414 acc0 += (*pScr++ * *pIn2); in arm_correlate_opt_q15() 429 *pOut = (__SSAT(acc0 >> 15u, 16)); in arm_correlate_opt_q15() 455 acc0 = 0; in arm_correlate_opt_q15() 462 acc0 += (*pScr++ * *pIn2++); in arm_correlate_opt_q15() 463 acc0 += (*pScr++ * *pIn2++); in arm_correlate_opt_q15() [all …]
|
A D | arm_conv_partial_opt_q7.c | 237 acc0 = 0; in arm_conv_partial_opt_q7() 257 acc0 = __SMLAD(x1, y1, acc0); in arm_conv_partial_opt_q7() 285 acc0 = __SMLAD(x2, y1, acc0); in arm_conv_partial_opt_q7() 358 acc0 = 0; in arm_conv_partial_opt_q7() 371 acc0 = __SMLAD(x1, y1, acc0); in arm_conv_partial_opt_q7() 611 acc0 = 0; in arm_conv_partial_opt_q7() 634 acc0 += (q31_t) x10 *y10; in arm_conv_partial_opt_q7() 635 acc0 += (q31_t) x11 *y11; in arm_conv_partial_opt_q7() 656 acc0 += (q31_t) x20 *y10; in arm_conv_partial_opt_q7() 657 acc0 += (q31_t) x21 *y11; in arm_conv_partial_opt_q7() [all …]
|
A D | arm_fir_decimate_fast_q31.c | 81 q31_t acc0, acc1; in arm_fir_decimate_fast_q31() local 105 acc0 = 0; in arm_fir_decimate_fast_q31() 130 acc0 = (q31_t) ((((q63_t) acc0 << 32) + ((q63_t) x0 * c0)) >> 32); in arm_fir_decimate_fast_q31() 141 acc0 = (q31_t) ((((q63_t) acc0 << 32) + ((q63_t) x0 * 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() 165 acc0 = (q31_t) ((((q63_t) acc0 << 32) + ((q63_t) x0 * c0)) >> 32); in arm_fir_decimate_fast_q31() 189 acc0 = (q31_t) ((((q63_t) acc0 << 32) + ((q63_t) x0 * c0)) >> 32); in arm_fir_decimate_fast_q31() 201 *pDst++ = (q31_t) (acc0 << 1); in arm_fir_decimate_fast_q31()
|
A D | arm_fir_fast_q31.c | 76 q31_t acc0, acc1, acc2, acc3; /* Accumulators */ in arm_fir_fast_q31() local 105 acc0 = 0; in arm_fir_fast_q31() 135 multAcc_32x32_keep32_R(acc0, x0, c0); in arm_fir_fast_q31() 153 multAcc_32x32_keep32_R(acc0, x1, c0); in arm_fir_fast_q31() 165 multAcc_32x32_keep32_R(acc0, x2, c0); in arm_fir_fast_q31() 177 multAcc_32x32_keep32_R(acc0, x3, c0); in arm_fir_fast_q31() 202 multAcc_32x32_keep32_R(acc0, x0, c0); in arm_fir_fast_q31() 221 *pDst++ = (q31_t) (acc0 << 1); in arm_fir_fast_q31() 241 acc0 = 0; in arm_fir_fast_q31() 254 multAcc_32x32_keep32_R(acc0, (*px++), (*(pb++))); in arm_fir_fast_q31() [all …]
|
A D | arm_fir_q7.c | 104 acc0 = 0; in arm_fir_q7() 134 acc0 += ((q15_t) x0 * c0); in arm_fir_q7() 152 acc0 += ((q15_t) x1 * c0); in arm_fir_q7() 164 acc0 += ((q15_t) x2 * c0); in arm_fir_q7() 176 acc0 += ((q15_t) x3 * c0); in arm_fir_q7() 201 acc0 += ((q15_t) x0 * c0); in arm_fir_q7() 220 acc0 = __SSAT((acc0 >> 7u), 8); in arm_fir_q7() 221 *pDst++ = acc0; in arm_fir_q7() 244 acc0 = 0; in arm_fir_q7() 257 acc0 += (q15_t) * (px++) * (*(pb++)); in arm_fir_q7() [all …]
|
A D | arm_fir_decimate_fast_q15.c | 81 q31_t acc0, acc1; in arm_fir_decimate_fast_q15() local 110 acc0 = 0; in arm_fir_decimate_fast_q15() 138 acc0 = __SMLAD(x0, c0, acc0); in arm_fir_decimate_fast_q15() 151 acc0 = __SMLAD(x0, c0, acc0); in arm_fir_decimate_fast_q15() 173 acc0 = __SMLAD(x0, c0, acc0); in arm_fir_decimate_fast_q15() 321 q31_t acc0, acc1; in arm_fir_decimate_fast_q15() local 349 acc0 = 0; in arm_fir_decimate_fast_q15() 376 acc0 += x0 * c0; in arm_fir_decimate_fast_q15() 387 acc0 += x0 * c0; in arm_fir_decimate_fast_q15() 398 acc0 += x0 * c0; in arm_fir_decimate_fast_q15() [all …]
|
A D | arm_conv_opt_q7.c | 83 q31_t acc0, acc1, acc2, acc3; /* Accumulator */ in arm_conv_opt_q7() local 258 acc0 = 0; in arm_conv_opt_q7() 278 acc0 = __SMLAD(x1, y1, acc0); in arm_conv_opt_q7() 306 acc0 = __SMLAD(x2, y1, acc0); in arm_conv_opt_q7() 342 acc0 += (*pScr1++ * *pScr2); in arm_conv_opt_q7() 356 out0 = (q7_t) (__SSAT(acc0 >> 7u, 8)); in arm_conv_opt_q7() 380 acc0 = 0; in arm_conv_opt_q7() 386 acc0 += (*pScr1++ * *pScr2++); in arm_conv_opt_q7() 387 acc0 += (*pScr1++ * *pScr2++); in arm_conv_opt_q7() 400 acc0 += (*pScr1++ * *pScr2++); in arm_conv_opt_q7() [all …]
|
A D | arm_correlate_opt_q7.c | 86 q31_t acc0, acc1, acc2, acc3; /* Accumulators */ in arm_correlate_opt_q7() local 284 acc0 = 0; in arm_correlate_opt_q7() 304 acc0 = __SMLAD(x1, y1, acc0); in arm_correlate_opt_q7() 332 acc0 = __SMLAD(x2, y1, acc0); in arm_correlate_opt_q7() 368 acc0 += (*pScr1++ * *pScr2); in arm_correlate_opt_q7() 382 *pOut = (q7_t) (__SSAT(acc0 >> 7u, 8)); in arm_correlate_opt_q7() 408 acc0 = 0; in arm_correlate_opt_q7() 414 acc0 += (*pScr1++ * *pScr2++); in arm_correlate_opt_q7() 415 acc0 += (*pScr1++ * *pScr2++); in arm_correlate_opt_q7() 428 acc0 += (*pScr1++ * *pScr2++); in arm_correlate_opt_q7() [all …]
|
A D | arm_correlate_fast_q15.c | 289 acc0 = __SMLAD(x0, c0, acc0); in arm_correlate_fast_q15() 310 acc0 = __SMLAD(x2, c0, acc0); in arm_correlate_fast_q15() 356 acc0 = __SMLAD(x0, c0, acc0); in arm_correlate_fast_q15() 375 acc0 = __SMLAD(x0, c0, acc0); in arm_correlate_fast_q15() 393 acc0 = __SMLAD(x0, c0, acc0); in arm_correlate_fast_q15() 413 acc0 = __SMLADX(x1, c0, acc0); in arm_correlate_fast_q15() 861 acc0 = __SMLAD(x0, c0, acc0); in arm_correlate_fast_q15() 907 acc0 = __SMLAD(x2, c0, acc0); in arm_correlate_fast_q15() 980 acc0 = __SMLAD(x0, c0, acc0); in arm_correlate_fast_q15() 1023 acc0 = __SMLAD(x0, c0, acc0); in arm_correlate_fast_q15() [all …]
|
A D | arm_fir_f32.c | 164 acc0 = 0.0f; in arm_fir_f32() 407 acc0 = 0.0f; in arm_fir_f32() 594 acc0 = 0.0f; in arm_fir_f32() 669 acc0 += p0; in arm_fir_f32() 695 acc0 += p0; in arm_fir_f32() 720 acc0 += p0; in arm_fir_f32() 745 acc0 += p0; in arm_fir_f32() 770 acc0 += p0; in arm_fir_f32() 795 acc0 += p0; in arm_fir_f32() 820 acc0 += p0; in arm_fir_f32() [all …]
|
A D | arm_fir_decimate_q15.c | 78 q63_t acc0, acc1; in arm_fir_decimate_q15() local 107 acc0 = 0; in arm_fir_decimate_q15() 135 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_decimate_q15() 148 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_decimate_q15() 170 acc0 = __SMLALD(x0, c0, acc0); in arm_fir_decimate_q15() 318 q63_t acc0, acc1; in arm_fir_decimate_q15() local 346 acc0 = 0; in arm_fir_decimate_q15() 373 acc0 += x0 * c0; in arm_fir_decimate_q15() 384 acc0 += x0 * c0; in arm_fir_decimate_q15() 395 acc0 += x0 * c0; in arm_fir_decimate_q15() [all …]
|
A D | arm_fir_q31.c | 79 q63_t acc0, acc1, acc2; /* Accumulators */ in arm_fir_q31() local 111 acc0 = 0; in arm_fir_q31() 138 acc0 += ((q63_t) x0 * c0); in arm_fir_q31() 147 acc0 += ((q63_t) x1 * c0); in arm_fir_q31() 159 acc0 += ((q63_t) x2 * c0); in arm_fir_q31() 180 acc0 += ((q63_t) x0 * c0); in arm_fir_q31() 197 *pDst++ = (q31_t) (acc0 >> 31u); in arm_fir_q31() 214 acc0 = 0; in arm_fir_q31() 227 acc0 += (q63_t) * (px++) * (*(pb++)); in arm_fir_q31() 233 *pDst++ = (q31_t) (acc0 >> 31u); in arm_fir_q31()
|
A D | arm_conv_fast_q15.c | 307 acc0 = __SMLADX(x0, c0, acc0); in arm_conv_fast_q15() 328 acc0 = __SMLADX(x2, c0, acc0); in arm_conv_fast_q15() 375 acc0 = __SMLAD(x0, c0, acc0); in arm_conv_fast_q15() 394 acc0 = __SMLADX(x0, c0, acc0); in arm_conv_fast_q15() 412 acc0 = __SMLADX(x0, c0, acc0); in arm_conv_fast_q15() 432 acc0 = __SMLADX(x1, c0, acc0); in arm_conv_fast_q15() 931 acc0 = __SMLADX(x0, c0, acc0); in arm_conv_fast_q15() 975 acc0 = __SMLADX(x2, c0, acc0); in arm_conv_fast_q15() 1047 acc0 = __SMLAD(x0, c0, acc0); in arm_conv_fast_q15() 1089 acc0 = __SMLADX(x0, c0, acc0); in arm_conv_fast_q15() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/ |
A D | depthwiseconv_uint8_transitional.h | 4050 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 4088 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 5177 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 5213 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 5252 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 5282 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 5343 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 5379 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 5461 acc0 = vqrdmulhq_n_s32(acc0, output_multiplier); 6404 acc0 = vqrdmulhq_s32(acc0, output_multiplier); [all …]
|
/AliOS-Things-master/components/mbedtls/library/ |
A D | poly1305.c | 127 acc0 = ctx->acc[0]; in poly1305_process() 143 d0 += (uint64_t) acc0; in poly1305_process() 147 acc0 = (uint32_t) d0; in poly1305_process() 154 d0 = mul64( acc0, r0 ) + in poly1305_process() 158 d1 = mul64( acc0, r1 ) + in poly1305_process() 179 acc0 = (uint32_t) d0; in poly1305_process() 187 acc0 = (uint32_t) d0; in poly1305_process() 200 ctx->acc[0] = acc0; in poly1305_process() 223 acc0 = ctx->acc[0]; in poly1305_compute_mac() 250 acc0 = ( acc0 & mask_inv ) | ( g0 & mask ); in poly1305_compute_mac() [all …]
|