/cmsis-dsp-latest/Source/ComplexMathFunctions/ |
D | arm_cmplx_mult_real_q15.c | 120 q31_t inB1; /* Temporary variables to hold input data */ in arm_cmplx_mult_real_q15() local 138 inB1 = read_q15x2_ia (&pSrcReal); 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() 144 mul3 = (q31_t) ((q15_t) (inA2) * (q15_t) (inB1 >> 16)); in arm_cmplx_mult_real_q15() 145 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) (inB1 >> 16)); 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() 149 mul4 = (q31_t) ((q15_t) (inA2 >> 16) * (q15_t) inB1); in arm_cmplx_mult_real_q15() 150 mul3 = (q31_t) ((q15_t) inA2 * (q15_t) inB1); in arm_cmplx_mult_real_q15() [all …]
|
/cmsis-dsp-latest/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 275 inB1 = read_q15x2_ia (&pInB); in arm_mat_mult_fast_q15() 281 sum = __SMLAD(inA1, inB1, sum); in arm_mat_mult_fast_q15() 283 sum3 = __SMLAD(inA2, inB1, sum3); in arm_mat_mult_fast_q15() 288 inB1 = *pInB++; in arm_mat_mult_fast_q15() 290 sum += inA1 * inB1; in arm_mat_mult_fast_q15() 297 inB1 = *pInB++; in arm_mat_mult_fast_q15() 298 sum += inA1 * inB1; in arm_mat_mult_fast_q15() 313 inB1 = *pInB++; 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 141 inB1 = pInB[0]; in arm_mat_mult_fast_q31() 147 sum1 = __SMMLA(inA1, inB1, sum1); in arm_mat_mult_fast_q31() 149 sum3 = __SMMLA(inA2, inB1, sum3); 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() 154 sum3 = (q31_t) ((((q63_t) sum3 << 32) + ((q63_t) inA2 * inB1)) >> 32); in arm_mat_mult_fast_q31() 304 inB1 = *pInB; 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() 318 inB1 = *pInB; in arm_mat_mult_fast_q31() [all …]
|
D | arm_mat_mult_q15.c | 645 q31_t inA1, inB1, inA2, inB2; local 702 inB1 = read_q15x2_ia (&pInB); 708 sum = __SMLALD(inA1, inB1, sum);
|
/cmsis-dsp-latest/Source/BasicMathFunctions/ |
D | arm_mult_q15.c | 111 q31_t inA1, inA2, inB1, inB2; /* Temporary input variables */ in arm_mult_q15() local 127 inB1 = read_q15x2_ia (&pSrcB); 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_add_q15.c | 114 q31_t inB1, inB2; in arm_add_q15() local 129 inB1 = read_q15x2_ia (&pSrcB); in arm_add_q15() 133 write_q15x2_ia (&pDst, __QADD16(inA1, inB1)); in arm_add_q15()
|
D | arm_sub_q15.c | 115 q31_t inB1, inB2; in arm_sub_q15() local 130 inB1 = read_q15x2_ia (&pSrcB); 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 140 inB1 = __SXTB16(__ROR(input2, 8)); in arm_dot_prod_q7() 145 sum = __SMLAD(inA1, inB1, sum); in arm_dot_prod_q7()
|
/cmsis-dsp-latest/dsppp/Include/dsppp/DSP/ |
D | q7.hpp | 227 q31_t inA1, inA2, inB1, inB2; in vmacc() local 233 inB1 = __SXTB16(__ROR(valb.v, 8)); in vmacc() 238 s = __SMLAD(inA1, inB1, sum.v); in vmacc()
|
D | matrix_multiply.hpp | 281 VEC inA1, inB1, inA2, inB2; in _dot_m_m() local 319 inB1 = inner::vload1<1> (pInB); in _dot_m_m() 328 sum = inner::vmacc(sum, inA1, inB1); in _dot_m_m()
|