/third_party/cmsis/CMSIS/DSP/Source/ComplexMathFunctions/ |
D | arm_cmplx_conj_q31.c | 56 q31_t * pDst, in arm_cmplx_conj_q31() argument 77 vst2q(pDst,vecSrc); in arm_cmplx_conj_q31() 83 pDst += 8; in arm_cmplx_conj_q31() 95 *pDst++ = *pSrc++; in arm_cmplx_conj_q31() 97 *pDst++ = __QSUB(0, in); in arm_cmplx_conj_q31() 109 q31_t * pDst, in arm_cmplx_conj_q31() argument 125 *pDst++ = *pSrc++; in arm_cmplx_conj_q31() 128 *pDst++ = __QSUB(0, in); in arm_cmplx_conj_q31() 130 *pDst++ = (in == INT32_MIN) ? INT32_MAX : -in; in arm_cmplx_conj_q31() 133 *pDst++ = *pSrc++; in arm_cmplx_conj_q31() [all …]
|
D | arm_cmplx_conj_f32.c | 75 float32_t * pDst, in arm_cmplx_conj_f32() argument 95 vst1q(pDst,vmulq(vecSrc, vecSign)); in arm_cmplx_conj_f32() 101 pDst += 4; in arm_cmplx_conj_f32() 113 *pDst++ = *pSrc++; in arm_cmplx_conj_f32() 114 *pDst++ = -*pSrc++; in arm_cmplx_conj_f32() 125 float32_t * pDst, in arm_cmplx_conj_f32() argument 145 vst2q_f32(pDst,vec); in arm_cmplx_conj_f32() 149 pDst += 8; in arm_cmplx_conj_f32() 169 *pDst++ = *pSrc++; in arm_cmplx_conj_f32() 170 *pDst++ = -*pSrc++; in arm_cmplx_conj_f32() [all …]
|
D | arm_cmplx_conj_q15.c | 56 q15_t * pDst, in arm_cmplx_conj_q15() argument 74 vst2q(pDst,vecSrc); in arm_cmplx_conj_q15() 80 pDst += 16; in arm_cmplx_conj_q15() 92 *pDst++ = *pSrc++; in arm_cmplx_conj_q15() 94 *pDst++ = __SSAT(-in1, 16); in arm_cmplx_conj_q15() 103 q15_t * pDst, in arm_cmplx_conj_q15() argument 148 write_q15x2_ia (&pDst, in1); in arm_cmplx_conj_q15() 149 write_q15x2_ia (&pDst, in2); in arm_cmplx_conj_q15() 150 write_q15x2_ia (&pDst, in3); in arm_cmplx_conj_q15() 151 write_q15x2_ia (&pDst, in4); in arm_cmplx_conj_q15() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/BasicMathFunctions/ |
D | arm_shift_q15.c | 60 q15_t * pDst, in arm_shift_q15() argument 77 vst1q(pDst, vecDst); in arm_shift_q15() 86 pDst += 8; in arm_shift_q15() 97 vstrhq_p(pDst, vecDst, p0); in arm_shift_q15() 105 q15_t * pDst, in arm_shift_q15() argument 134 write_q15x2_ia (&pDst, __PKHBT(__SSAT((in1 << shiftBits), 16), in arm_shift_q15() 137 write_q15x2_ia (&pDst, __PKHBT(__SSAT((in2 << shiftBits), 16), in arm_shift_q15() 146 write_q15x2_ia (&pDst, __PKHBT(__SSAT((in1 << shiftBits), 16), in arm_shift_q15() 149 write_q15x2_ia (&pDst, __PKHBT(__SSAT((in2 << shiftBits), 16), in arm_shift_q15() 154 *pDst++ = __SSAT(((q31_t) *pSrc++ << shiftBits), 16); in arm_shift_q15() [all …]
|
D | arm_offset_q31.c | 60 q31_t * pDst, in arm_offset_q31() argument 75 vst1q(pDst, vqaddq(vecSrc, offset)); in arm_offset_q31() 84 pDst += 4; in arm_offset_q31() 94 vstrwq_p(pDst, vqaddq(vecSrc, offset), p0); in arm_offset_q31() 102 q31_t * pDst, in arm_offset_q31() argument 118 *pDst++ = __QADD(*pSrc++, offset); in arm_offset_q31() 120 *pDst++ = (q31_t) clip_q63_to_q31((q63_t) * pSrc++ + offset); in arm_offset_q31() 124 *pDst++ = __QADD(*pSrc++, offset); in arm_offset_q31() 126 *pDst++ = (q31_t) clip_q63_to_q31((q63_t) * pSrc++ + offset); in arm_offset_q31() 130 *pDst++ = __QADD(*pSrc++, offset); in arm_offset_q31() [all …]
|
D | arm_negate_q31.c | 58 q31_t * pDst, in arm_negate_q31() argument 73 vst1q(pDst, vqnegq(vecSrc)); in arm_negate_q31() 82 pDst += 4; in arm_negate_q31() 92 vstrwq_p(pDst, vqnegq(vecSrc), p0); in arm_negate_q31() 99 q31_t * pDst, in arm_negate_q31() argument 117 *pDst++ = __QSUB(0, in); in arm_negate_q31() 119 *pDst++ = (in == INT32_MIN) ? INT32_MAX : -in; in arm_negate_q31() 124 *pDst++ = __QSUB(0, in); in arm_negate_q31() 126 *pDst++ = (in == INT32_MIN) ? INT32_MAX : -in; in arm_negate_q31() 131 *pDst++ = __QSUB(0, in); in arm_negate_q31() [all …]
|
D | arm_abs_q31.c | 58 q31_t * pDst, in arm_abs_q31() argument 74 vst1q(pDst, vqabsq(vecSrc)); in arm_abs_q31() 83 pDst += 4; in arm_abs_q31() 94 vstrwq_p(pDst, vqabsq(vecSrc), p0); in arm_abs_q31() 101 q31_t * pDst, in arm_abs_q31() argument 121 vst1q_s32(pDst, res); in arm_abs_q31() 125 pDst += 4; in arm_abs_q31() 147 *pDst++ = (in > 0) ? in : (q31_t)__QSUB(0, in); in arm_abs_q31() 149 *pDst++ = (in > 0) ? in : ((in == INT32_MIN) ? INT32_MAX : -in); in arm_abs_q31() 154 *pDst++ = (in > 0) ? in : (q31_t)__QSUB(0, in); in arm_abs_q31() [all …]
|
D | arm_abs_q15.c | 58 q15_t * pDst, in arm_abs_q15() argument 73 vst1q(pDst, vqabsq(vecSrc)); in arm_abs_q15() 82 pDst += 8; in arm_abs_q15() 92 vstrhq_p(pDst, vqabsq(vecSrc), p0); in arm_abs_q15() 99 q15_t * pDst, in arm_abs_q15() argument 117 *pDst++ = (in > 0) ? in : (q15_t)__QSUB16(0, in); in arm_abs_q15() 119 *pDst++ = (in > 0) ? in : ((in == (q15_t) 0x8000) ? 0x7fff : -in); in arm_abs_q15() 124 *pDst++ = (in > 0) ? in : (q15_t)__QSUB16(0, in); in arm_abs_q15() 126 *pDst++ = (in > 0) ? in : ((in == (q15_t) 0x8000) ? 0x7fff : -in); in arm_abs_q15() 131 *pDst++ = (in > 0) ? in : (q15_t)__QSUB16(0, in); in arm_abs_q15() [all …]
|
D | arm_shift_q7.c | 62 q7_t * pDst, in arm_shift_q7() argument 79 vst1q(pDst, vecDst); in arm_shift_q7() 88 pDst += 16; in arm_shift_q7() 99 vstrbq_p(pDst, vecDst, p0); in arm_shift_q7() 107 q7_t * pDst, in arm_shift_q7() argument 137 write_q7x4_ia (&pDst, __PACKq7(__SSAT((in1 << shiftBits), 8), in arm_shift_q7() 142 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() 143 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() 144 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() 145 *pDst++ = (q7_t) __SSAT(((q15_t) *pSrc++ << shiftBits), 8); in arm_shift_q7() [all …]
|
D | arm_abs_q7.c | 60 q7_t * pDst, in arm_abs_q7() argument 75 vst1q(pDst, vqabsq(vecSrc)); in arm_abs_q7() 84 pDst += 16; in arm_abs_q7() 94 vstrbq_p(pDst, vqabsq(vecSrc), p0); in arm_abs_q7() 101 q7_t * pDst, in arm_abs_q7() argument 119 *pDst++ = (in > 0) ? in : (q7_t)__QSUB8(0, in); in arm_abs_q7() 121 *pDst++ = (in > 0) ? in : ((in == (q7_t) 0x80) ? (q7_t) 0x7f : -in); in arm_abs_q7() 126 *pDst++ = (in > 0) ? in : (q7_t)__QSUB8(0, in); in arm_abs_q7() 128 *pDst++ = (in > 0) ? in : ((in == (q7_t) 0x80) ? (q7_t) 0x7f : -in); in arm_abs_q7() 133 *pDst++ = (in > 0) ? in : (q7_t)__QSUB8(0, in); in arm_abs_q7() [all …]
|
D | arm_shift_q31.c | 77 q31_t * pDst, in arm_shift_q31() argument 94 vst1q(pDst, vecDst); in arm_shift_q31() 103 pDst += 4; in arm_shift_q31() 114 vstrwq_p(pDst, vecDst, p0); in arm_shift_q31() 123 q31_t * pDst, in arm_shift_q31() argument 148 *pDst++ = out; in arm_shift_q31() 154 *pDst++ = out; in arm_shift_q31() 160 *pDst++ = out; in arm_shift_q31() 166 *pDst++ = out; in arm_shift_q31() 179 *pDst++ = (*pSrc++ >> -shiftBits); in arm_shift_q31() [all …]
|
D | arm_offset_q15.c | 59 q15_t * pDst, in arm_offset_q15() argument 74 vst1q(pDst, vqaddq(vecSrc, offset)); in arm_offset_q15() 83 pDst += 8; in arm_offset_q15() 93 vstrhq_p(pDst, vqaddq(vecSrc, offset), p0); in arm_offset_q15() 102 q15_t * pDst, in arm_offset_q15() argument 125 write_q15x2_ia (&pDst, __QADD16(read_q15x2_ia ((q15_t **) &pSrc), offset_packed)); in arm_offset_q15() 126 write_q15x2_ia (&pDst, __QADD16(read_q15x2_ia ((q15_t **) &pSrc), offset_packed)); in arm_offset_q15() 128 *pDst++ = (q15_t) __SSAT(((q31_t) *pSrc++ + offset), 16); in arm_offset_q15() 129 *pDst++ = (q15_t) __SSAT(((q31_t) *pSrc++ + offset), 16); in arm_offset_q15() 130 *pDst++ = (q15_t) __SSAT(((q31_t) *pSrc++ + offset), 16); in arm_offset_q15() [all …]
|
D | arm_negate_f32.c | 68 float32_t * pDst, in arm_negate_f32() argument 85 vst1q(pDst, res); in arm_negate_f32() 89 pDst += 4; in arm_negate_f32() 102 vstrwq_p(pDst, vnegq(vec1), p0); in arm_negate_f32() 110 float32_t * pDst, in arm_negate_f32() argument 129 vst1q_f32(pDst, res); in arm_negate_f32() 133 pDst += 4; in arm_negate_f32() 153 *pDst++ = -*pSrc++; in arm_negate_f32() 155 *pDst++ = -*pSrc++; in arm_negate_f32() 157 *pDst++ = -*pSrc++; in arm_negate_f32() [all …]
|
D | arm_abs_f32.c | 70 float32_t * pDst, in arm_abs_f32() argument 88 vst1q(pDst, res); in arm_abs_f32() 92 pDst += 4; in arm_abs_f32() 107 vstrwq_p(pDst, vabsq(vec1), p0); in arm_abs_f32() 115 float32_t * pDst, in arm_abs_f32() argument 134 vst1q_f32(pDst, res); in arm_abs_f32() 138 pDst += 4; in arm_abs_f32() 158 *pDst++ = fabsf(*pSrc++); in arm_abs_f32() 160 *pDst++ = fabsf(*pSrc++); in arm_abs_f32() 162 *pDst++ = fabsf(*pSrc++); in arm_abs_f32() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/SupportFunctions/ |
D | arm_q7_to_float.c | 60 float32_t * pDst, in arm_q7_to_float() argument 75 vstrwq(pDst, vcvtq_n_f32_s32(vecDst, 7)); in arm_q7_to_float() 76 pDst += 4; in arm_q7_to_float() 89 *pDst++ = ((float32_t) * pSrcVec++ / 128.0f); in arm_q7_to_float() 99 float32_t * pDst, in arm_q7_to_float() argument 130 vst1q_f32(pDst, outV); in arm_q7_to_float() 131 pDst += 4; in arm_q7_to_float() 134 vst1q_f32(pDst, outV); in arm_q7_to_float() 135 pDst += 4; in arm_q7_to_float() 138 vst1q_f32(pDst, outV); in arm_q7_to_float() [all …]
|
D | arm_float_to_q31.c | 69 q31_t * pDst, in arm_float_to_q31() argument 91 vstrwq_s32(pDst, vcvtaq_s32_f32(vecDst)); in arm_float_to_q31() 97 pDst += 4; in arm_float_to_q31() 112 *pDst++ = clip_q63_to_q31((q63_t) (in)); in arm_float_to_q31() 118 *pDst++ = clip_q63_to_q31((q63_t) (*pSrc++ * 2147483648.0f)); in arm_float_to_q31() 130 q31_t * pDst, in arm_float_to_q31() argument 168 vst1q_s32(pDst, outV); in arm_float_to_q31() 169 pDst += 4; in arm_float_to_q31() 179 vst1q_s32(pDst, outV); in arm_float_to_q31() 180 pDst += 4; in arm_float_to_q31() [all …]
|
D | arm_fill_f32.c | 62 float32_t * pDst, in arm_fill_f32() argument 72 vstrwq_f32(pDst,vdupq_n_f32(value)); in arm_fill_f32() 77 pDst += 4; in arm_fill_f32() 88 *pDst++ = value; in arm_fill_f32() 99 float32_t * pDst, in arm_fill_f32() argument 115 vst1q_f32(pDst, inV); in arm_fill_f32() 116 pDst += 4; in arm_fill_f32() 130 *pDst++ = value; in arm_fill_f32() 139 float32_t * pDst, in arm_fill_f32() argument 154 *pDst++ = value; in arm_fill_f32() [all …]
|
D | arm_q7_to_q31.c | 56 q31_t * pDst, in arm_q7_to_q31() argument 71 vstrwq_s32(pDst, vecDst); in arm_q7_to_q31() 77 pDst += 4; in arm_q7_to_q31() 88 *pDst++ = (q31_t) *pSrc++ << 24; in arm_q7_to_q31() 98 q31_t * pDst, in arm_q7_to_q31() argument 120 *pDst++ = (__ROR(in, 8)) & 0xFF000000; in arm_q7_to_q31() 121 *pDst++ = (__ROR(in, 16)) & 0xFF000000; in arm_q7_to_q31() 122 *pDst++ = (__ROR(in, 24)) & 0xFF000000; in arm_q7_to_q31() 123 *pDst++ = (in & 0xFF000000); in arm_q7_to_q31() 127 *pDst++ = (in & 0xFF000000); in arm_q7_to_q31() [all …]
|
D | arm_copy_f32.c | 63 float32_t * pDst, in arm_copy_f32() argument 72 vstrwq_f32(pDst, vldrwq_f32(pSrc)); in arm_copy_f32() 78 pDst += 4; in arm_copy_f32() 89 *pDst++ = *pSrc++; in arm_copy_f32() 101 float32_t * pDst, in arm_copy_f32() argument 117 vst1q_f32(pDst, inV); in arm_copy_f32() 119 pDst += 4; in arm_copy_f32() 133 *pDst++ = *pSrc++; in arm_copy_f32() 142 float32_t * pDst, in arm_copy_f32() argument 157 *pDst++ = *pSrc++; in arm_copy_f32() [all …]
|
D | arm_float_to_q15.c | 65 q15_t * pDst, in arm_float_to_q15() argument 89 vst1q(pDst, vecDst); in arm_float_to_q15() 94 pDst += 8; in arm_float_to_q15() 108 *pDst++ = (q15_t) (__SSAT((q31_t) (in), 16)); in arm_float_to_q15() 114 *pDst++ = (q15_t) __SSAT((q31_t) (*pSrc++ * 32768.0f), 16); in arm_float_to_q15() 127 q15_t * pDst, in arm_float_to_q15() argument 166 vst1_s16(pDst, outV); in arm_float_to_q15() 167 pDst += 4; in arm_float_to_q15() 178 vst1_s16(pDst, outV); in arm_float_to_q15() 179 pDst += 4; in arm_float_to_q15() [all …]
|
D | arm_q15_to_float.c | 61 float32_t * pDst, in arm_q15_to_float() argument 77 vstrwq(pDst, vcvtq_n_f32_s32(vecDst, 15)); in arm_q15_to_float() 78 pDst += 4; in arm_q15_to_float() 91 *pDst++ = ((float32_t) *pSrcVec++ / 32768.0f); in arm_q15_to_float() 101 float32_t * pDst, in arm_q15_to_float() argument 126 vst1q_f32(pDst, outV); in arm_q15_to_float() 127 pDst += 4; in arm_q15_to_float() 130 vst1q_f32(pDst, outV); in arm_q15_to_float() 131 pDst += 4; in arm_q15_to_float() 146 *pDst++ = ((float32_t) * pIn++ / 32768.0f); in arm_q15_to_float() [all …]
|
D | arm_q31_to_float.c | 60 float32_t * pDst, in arm_q31_to_float() argument 75 vstrwq(pDst, vcvtq_n_f32_s32(vecDst, 31)); in arm_q31_to_float() 76 pDst += 4; in arm_q31_to_float() 92 *pDst++ = ((float32_t) *pSrcVec++ / 2147483648.0f); in arm_q31_to_float() 103 float32_t * pDst, in arm_q31_to_float() argument 125 vst1q_f32(pDst, outV); in arm_q31_to_float() 126 pDst += 4; in arm_q31_to_float() 141 *pDst++ = ((float32_t) * pIn++ / 2147483648.0f); in arm_q31_to_float() 150 float32_t * pDst, in arm_q31_to_float() argument 166 *pDst++ = ((float32_t) *pIn++ / 2147483648.0f); in arm_q31_to_float() [all …]
|
D | arm_float_to_q7.c | 64 q7_t * pDst, in arm_float_to_q7() argument 107 vst1q(pDst, vecDst); in arm_float_to_q7() 108 pDst += 16; in arm_float_to_q7() 125 *pDst++ = (q7_t) (__SSAT((q15_t) (in), 8)); in arm_float_to_q7() 129 *pDst++ = (q7_t) __SSAT((q31_t) (*pSrcVec++ * 128.0f), 8); in arm_float_to_q7() 142 q7_t * pDst, in arm_float_to_q7() argument 186 vst1_s8(pDst, outV); in arm_float_to_q7() 187 pDst += 8; in arm_float_to_q7() 203 vst1_s8(pDst, outV); in arm_float_to_q7() 204 pDst += 8; in arm_float_to_q7() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/ |
D | arm_mat_trans_q31.c | 54 arm_matrix_instance_q31 * pDst) in arm_mat_trans_q31() argument 60 if ((pSrc->numRows != pDst->numCols) || in arm_mat_trans_q31() 61 (pSrc->numCols != pDst->numRows) ) in arm_mat_trans_q31() 71 if (pDst->numRows == pDst->numCols) in arm_mat_trans_q31() 73 if (pDst->numCols == 2) in arm_mat_trans_q31() 74 return arm_mat_trans_32bit_2x2_mve((uint32_t *)pSrc->pData, (uint32_t *)pDst->pData); in arm_mat_trans_q31() 75 if (pDst->numCols == 3) in arm_mat_trans_q31() 76 return arm_mat_trans_32bit_3x3_mve((uint32_t *)pSrc->pData, (uint32_t *)pDst->pData); in arm_mat_trans_q31() 77 if (pDst->numCols == 4) in arm_mat_trans_q31() 78 return arm_mat_trans_32bit_4x4_mve((uint32_t *)pSrc->pData, (uint32_t *)pDst->pData); in arm_mat_trans_q31() [all …]
|
/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/ |
D | arm_correlate_q31.c | 70 q31_t * pDst) in arm_correlate_q31() argument 97 pDst += j; in arm_correlate_q31() 112 pDst = pDst + tot; in arm_correlate_q31() 146 *pDst = (q31_t) acc0; in arm_correlate_q31() 147 pDst += incr; in arm_correlate_q31() 148 *pDst = (q31_t) acc1; in arm_correlate_q31() 149 pDst += incr; in arm_correlate_q31() 161 *pDst = (q31_t) acc; in arm_correlate_q31() 162 pDst += incr; in arm_correlate_q31() 180 *pDst = (q31_t) acc0; in arm_correlate_q31() [all …]
|