/cmsis-dsp-3.7.0-3.6.0/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 (&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 (&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 | 645 q31_t inA1, inB1, inA2, inB2; local 701 inA1 = read_q15x2_ia (&pInA); 708 sum = __SMLALD(inA1, inB1, sum);
|
/cmsis-dsp-3.7.0-3.6.0/Source/ComplexMathFunctions/ |
D | arm_cmplx_mult_real_q15.c | 119 q31_t inA1, inA2; /* Temporary variables to hold input data */ in arm_cmplx_mult_real_q15() local 135 inA1 = read_q15x2_ia (&pSrcCmplx); in arm_cmplx_mult_real_q15() 142 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 143 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 147 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() 148 mul1 = (q31_t) ((q15_t) inA1 * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() 163 inA1 = read_q15x2_ia (&pSrcCmplx); in arm_cmplx_mult_real_q15() 168 mul1 = (q31_t) ((q15_t) (inA1) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 169 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1)); in arm_cmplx_mult_real_q15() 173 mul2 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() [all …]
|
/cmsis-dsp-3.7.0-3.6.0/Source/BasicMathFunctions/ |
D | arm_mult_q15.c | 111 q31_t inA1, inA2, inB1, inB2; /* Temporary input variables */ in arm_mult_q15() local 125 inA1 = read_q15x2_ia (&pSrcA); in arm_mult_q15() 134 mul1 = (q31_t) ((q15_t) (inA1 >> 16) * (q15_t) (inB1 >> 16)); in arm_mult_q15() 135 mul2 = (q31_t) ((q15_t) (inA1 ) * (q15_t) (inB1 )); in arm_mult_q15()
|
D | arm_scale_q15.c | 132 q31_t inA1, inA2; in arm_scale_q15() local 149 inA1 = read_q15x2_ia (&pSrc); in arm_scale_q15() 154 out1 = (q31_t) ((q15_t) (inA1 >> 16) * scaleFract); in arm_scale_q15() 155 out2 = (q31_t) ((q15_t) (inA1 ) * scaleFract); in arm_scale_q15()
|
D | arm_add_q15.c | 113 q31_t inA1, inA2; in arm_add_q15() local 126 inA1 = read_q15x2_ia (&pSrcA); in arm_add_q15() 133 write_q15x2_ia (&pDst, __QADD16(inA1, inB1)); in arm_add_q15()
|
D | arm_sub_q15.c | 114 q31_t inA1, inA2; in arm_sub_q15() local 127 inA1 = read_q15x2_ia (&pSrcA); in arm_sub_q15() 134 write_q15x2_ia (&pDst, __QSUB16(inA1, inB1)); in arm_sub_q15()
|
D | arm_dot_prod_q7.c | 119 q31_t inA1, inA2, inB1, inB2; /* Temporary variables */ in arm_dot_prod_q7() local 136 inA1 = __SXTB16(__ROR(input1, 8)); in arm_dot_prod_q7() 145 sum = __SMLAD(inA1, inB1, sum); in arm_dot_prod_q7()
|