/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_mult_fast_q15.c | 87 q31_t inA1, inB1, inA2, inB2; in arm_mat_mult_fast_q15() local 93 q15_t inA1, inB1, inA2, inB2; in arm_mat_mult_fast_q15() local 274 inA1 = read_q15x2_ia ((q15_t **) &pInA); in arm_mat_mult_fast_q15() 281 sum = __SMLAD(inA1, inB1, sum); in arm_mat_mult_fast_q15() 282 sum2 = __SMLAD(inA1, inB2, sum2); in arm_mat_mult_fast_q15() 287 inA1 = *pInA++; in arm_mat_mult_fast_q15() 290 sum += inA1 * inB1; in arm_mat_mult_fast_q15() 296 inA1 = *pInA++; in arm_mat_mult_fast_q15() 298 sum += inA1 * inB1; in arm_mat_mult_fast_q15() 312 inA1 = *pInA++; in arm_mat_mult_fast_q15() [all …]
|
D | arm_mat_mult_fast_q31.c | 77 q31_t inA1, inA2, inB1, inB2; in arm_mat_mult_fast_q31() local 140 inA1 = *pInA++; in arm_mat_mult_fast_q31() 147 sum1 = __SMMLA(inA1, inB1, sum1); in arm_mat_mult_fast_q31() 148 sum2 = __SMMLA(inA1, inB2, sum2); in arm_mat_mult_fast_q31() 152 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() 302 inA1 = *pInA++; in arm_mat_mult_fast_q31() 309 sum1 = __SMMLA(inA1, inB1, sum1); 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() 316 inA1 = *pInA++; in arm_mat_mult_fast_q31() [all …]
|
D | arm_mat_scale_q15.c | 147 q31_t inA1, inA2; in arm_mat_scale_q15() local 180 inA1 = read_q15x2_ia ((q15_t **) &pIn); in arm_mat_scale_q15() 185 out1 = (q31_t) ((q15_t) (inA1 >> 16) * scaleFract); in arm_mat_scale_q15() 186 out2 = (q31_t) ((q15_t) (inA1 ) * scaleFract); in arm_mat_scale_q15()
|
D | arm_mat_mult_q15.c | 614 q31_t inA1, inB1, inA2, inB2; local 745 inA1 = read_q15x2_ia ((q15_t **) &pInA); 752 sum = __SMLALD(inA1, inB1, sum);
|
/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/ |
D | arm_cmplx_mult_real_q15.c | 120 q31_t inA1, inA2; /* Temporary variables to hold input data */ in arm_cmplx_mult_real_q15() local 136 inA1 = read_q15x2_ia ((q15_t **) &pSrcCmplx); in arm_cmplx_mult_real_q15() 143 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 144 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 148 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() 149 mul1 = (q31_t) ((q15_t) inA1 * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() 164 inA1 = read_q15x2_ia ((q15_t **) &pSrcCmplx); in arm_cmplx_mult_real_q15() 169 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 170 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 174 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/ |
D | arm_scale_q15.c | 122 q31_t inA1, inA2; in arm_scale_q15() local 139 inA1 = read_q15x2_ia ((q15_t **) &pSrc); in arm_scale_q15() 144 out1 = (q31_t) ((q15_t) (inA1 >> 16) * scaleFract); in arm_scale_q15() 145 out2 = (q31_t) ((q15_t) (inA1 ) * scaleFract); in arm_scale_q15()
|
D | arm_mult_q15.c | 112 q31_t inA1, inA2, inB1, inB2; /* Temporary input variables */ in arm_mult_q15() local 126 inA1 = read_q15x2_ia ((q15_t **) &pSrcA); in arm_mult_q15() 135 mul1 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_mult_q15() 136 mul2 = (q31_t) ((q15_t) (inA1 ) * (q15_t) (inB1 )); in arm_mult_q15()
|
D | arm_sub_q15.c | 115 q31_t inA1, inA2; in arm_sub_q15() local 128 inA1 = read_q15x2_ia ((q15_t **) &pSrcA); in arm_sub_q15() 135 write_q15x2_ia (&pDst, __QSUB16(inA1, inB1)); in arm_sub_q15()
|
D | arm_add_q15.c | 114 q31_t inA1, inA2; in arm_add_q15() local 127 inA1 = read_q15x2_ia ((q15_t **) &pSrcA); in arm_add_q15() 134 write_q15x2_ia (&pDst, __QADD16(inA1, inB1)); in arm_add_q15()
|
D | arm_dot_prod_q7.c | 120 q31_t inA1, inA2, inB1, inB2; /* Temporary variables */ in arm_dot_prod_q7() local 137 inA1 = __SXTB16(__ROR(input1, 8)); in arm_dot_prod_q7() 146 sum = __SMLAD(inA1, inB1, sum); in arm_dot_prod_q7()
|