/Zephyr-latest/tests/lib/cmsis_dsp/statistics/src/ |
D | q31.c | 21 const q31_t *input1, int ref_index, size_t length) in test_arm_max_q31() argument 27 arm_max_q31(input1, length, &val, &index); in test_arm_max_q31() 42 const q31_t *input1, int ref_index, size_t length) in test_arm_min_q31() argument 48 arm_min_q31(input1, length, &val, &index); in test_arm_min_q31() 63 const q31_t *input1, int ref_index, size_t length) in test_arm_absmax_q31() argument 69 arm_absmax_q31(input1, length, &val, &index); in test_arm_absmax_q31() 84 const q31_t *input1, int ref_index, size_t length) in test_arm_absmin_q31() argument 90 arm_absmin_q31(input1, length, &val, &index); in test_arm_absmin_q31() 105 const q31_t *input1, int ref_index, size_t length) in test_arm_mean_q31() argument 118 arm_mean_q31(input1, length, &output[0]); in test_arm_mean_q31() [all …]
|
D | q15.c | 21 const q15_t *input1, int ref_index, size_t length) in test_arm_max_q15() argument 27 arm_max_q15(input1, length, &val, &index); in test_arm_max_q15() 42 const q15_t *input1, int ref_index, size_t length) in test_arm_min_q15() argument 48 arm_min_q15(input1, length, &val, &index); in test_arm_min_q15() 63 const q15_t *input1, int ref_index, size_t length) in test_arm_absmax_q15() argument 69 arm_absmax_q15(input1, length, &val, &index); in test_arm_absmax_q15() 84 const q15_t *input1, int ref_index, size_t length) in test_arm_absmin_q15() argument 90 arm_absmin_q15(input1, length, &val, &index); in test_arm_absmin_q15() 105 const q15_t *input1, int ref_index, size_t length) in test_arm_mean_q15() argument 118 arm_mean_q15(input1, length, &output[0]); in test_arm_mean_q15() [all …]
|
D | f32.c | 20 const uint32_t *input1, int ref_index, size_t length) in test_arm_max_f32() argument 26 arm_max_f32((float32_t *)input1, length, &val, &index); in test_arm_max_f32() 41 const uint32_t *input1, int ref_index, size_t length) in test_arm_max_no_idx_f32() argument 46 arm_max_no_idx_f32((float32_t *)input1, length, &val); in test_arm_max_no_idx_f32() 58 const uint32_t *input1, int ref_index, size_t length) in test_arm_min_f32() argument 64 arm_min_f32((float32_t *)input1, length, &val, &index); in test_arm_min_f32() 79 const uint32_t *input1, int ref_index, size_t length) in test_arm_absmax_f32() argument 85 arm_absmax_f32((float32_t *)input1, length, &val, &index); in test_arm_absmax_f32() 100 const uint32_t *input1, int ref_index, size_t length) in test_arm_absmin_f32() argument 106 arm_absmin_f32((float32_t *)input1, length, &val, &index); in test_arm_absmin_f32() [all …]
|
D | q7.c | 21 const q7_t *input1, int ref_index, size_t length) in test_arm_max_q7() argument 27 arm_max_q7(input1, length, &val, &index); in test_arm_max_q7() 43 const q7_t *input1, int ref_index, size_t length) in test_arm_min_q7() argument 49 arm_min_q7(input1, length, &val, &index); in test_arm_min_q7() 65 const q7_t *input1, int ref_index, size_t length) in test_arm_absmax_q7() argument 71 arm_absmax_q7(input1, length, &val, &index); in test_arm_absmax_q7() 87 const q7_t *input1, int ref_index, size_t length) in test_arm_absmin_q7() argument 93 arm_absmin_q7(input1, length, &val, &index); in test_arm_absmin_q7() 109 const q7_t *input1, int ref_index, size_t length) in test_arm_mean_q7() argument 122 arm_mean_q7(input1, length, &output[0]); in test_arm_mean_q7() [all …]
|
D | f16.c | 36 const uint16_t *input1, int ref_index, size_t length) in test_arm_max_f16() argument 42 arm_max_f16((float16_t *)input1, length, &val, &index); in test_arm_max_f16() 57 const uint16_t *input1, int ref_index, size_t length) in test_arm_max_no_idx_f16() argument 62 arm_max_no_idx_f16((float16_t *)input1, length, &val); in test_arm_max_no_idx_f16() 74 const uint16_t *input1, int ref_index, size_t length) in test_arm_min_f16() argument 80 arm_min_f16((float16_t *)input1, length, &val, &index); in test_arm_min_f16() 95 const uint16_t *input1, int ref_index, size_t length) in test_arm_absmax_f16() argument 101 arm_absmax_f16((float16_t *)input1, length, &val, &index); in test_arm_absmax_f16() 116 const uint16_t *input1, int ref_index, size_t length) in test_arm_absmin_f16() argument 122 arm_absmin_f16((float16_t *)input1, length, &val, &index); in test_arm_absmin_f16() [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/distance/src/ |
D | u32.c | 35 const uint32_t *input1, const uint32_t *input2, const uint32_t *ref) in test_arm_distance() argument 52 val = arm_dice_distance(input1, input2, DIMS_VEC); in test_arm_distance() 55 val = arm_hamming_distance(input1, input2, DIMS_VEC); in test_arm_distance() 58 val = arm_jaccard_distance(input1, input2, DIMS_VEC); in test_arm_distance() 61 val = arm_kulsinski_distance(input1, input2, DIMS_VEC); in test_arm_distance() 65 input1, input2, DIMS_VEC); in test_arm_distance() 69 input1, input2, DIMS_VEC); in test_arm_distance() 73 input1, input2, DIMS_VEC); in test_arm_distance() 77 input1, input2, DIMS_VEC); in test_arm_distance() 80 val = arm_yule_distance(input1, input2, DIMS_VEC); in test_arm_distance() [all …]
|
D | f32.c | 38 const float32_t *input1 = (const float32_t *)dinput1; in test_arm_distance_f32() local 61 memcpy(tmp1, input1, DIMS_VEC * sizeof(float32_t)); in test_arm_distance_f32() 69 input1, input2, DIMS_VEC); in test_arm_distance_f32() 73 input1, input2, DIMS_VEC); in test_arm_distance_f32() 77 input1, input2, DIMS_VEC); in test_arm_distance_f32() 81 input1, input2, DIMS_VEC); in test_arm_distance_f32() 89 input1, input2, DIMS_VEC); in test_arm_distance_f32() 93 input1, input2, DIMS_VEC); in test_arm_distance_f32() 97 input1, input2, DIMS_VEC); in test_arm_distance_f32() 107 input1 += DIMS_VEC; in test_arm_distance_f32() [all …]
|
D | f16.c | 40 const float16_t *input1 = (const float16_t *)dinput1; in test_arm_distance_f16() local 63 memcpy(tmp1, input1, DIMS_VEC * sizeof(float16_t)); in test_arm_distance_f16() 71 input1, input2, DIMS_VEC); in test_arm_distance_f16() 75 input1, input2, DIMS_VEC); in test_arm_distance_f16() 79 input1, input2, DIMS_VEC); in test_arm_distance_f16() 83 input1, input2, DIMS_VEC); in test_arm_distance_f16() 91 input1, input2, DIMS_VEC); in test_arm_distance_f16() 95 input1, input2, DIMS_VEC); in test_arm_distance_f16() 99 input1, input2, DIMS_VEC); in test_arm_distance_f16() 109 input1 += DIMS_VEC; in test_arm_distance_f16() [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/support/src/ |
D | q15.c | 21 static void test_arm_copy_q15(const q15_t *input1, size_t length) in test_arm_copy_q15() argument 30 arm_copy_q15(input1, output, length); in test_arm_copy_q15() 34 test_equal_q15(length, input1, output), in test_arm_copy_q15() 73 const q15_t *input1, const uint32_t *ref, size_t length) in test_arm_q15_to_float() argument 82 arm_q15_to_float(input1, output, length); in test_arm_q15_to_float() 99 const q15_t *input1, const q31_t *ref, size_t length) in test_arm_q15_to_q31() argument 108 arm_q15_to_q31(input1, output, length); in test_arm_q15_to_q31() 125 const q15_t *input1, const q7_t *ref, size_t length) in test_arm_q15_to_q7() argument 134 arm_q15_to_q7(input1, output, length); in test_arm_q15_to_q7()
|
D | q31.c | 21 static void test_arm_copy_q31(const q31_t *input1, size_t length) in test_arm_copy_q31() argument 30 arm_copy_q31(input1, output, length); in test_arm_copy_q31() 34 test_equal_q31(length, input1, output), in test_arm_copy_q31() 73 const q31_t *input1, const uint32_t *ref, size_t length) in test_arm_q31_to_float() argument 82 arm_q31_to_float(input1, output, length); in test_arm_q31_to_float() 99 const q31_t *input1, const q15_t *ref, size_t length) in test_arm_q31_to_q15() argument 108 arm_q31_to_q15(input1, output, length); in test_arm_q31_to_q15() 124 const q31_t *input1, const q7_t *ref, size_t length) in test_arm_q31_to_q7() argument 133 arm_q31_to_q7(input1, output, length); in test_arm_q31_to_q7()
|
D | q7.c | 21 static void test_arm_copy_q7(const q7_t *input1, size_t length) in test_arm_copy_q7() argument 30 arm_copy_q7(input1, output, length); in test_arm_copy_q7() 34 test_equal_q7(length, input1, output), in test_arm_copy_q7() 73 const q7_t *input1, const uint32_t *ref, size_t length) in test_arm_q7_to_float() argument 82 arm_q7_to_float(input1, output, length); in test_arm_q7_to_float() 99 const q7_t *input1, const q31_t *ref, size_t length) in test_arm_q7_to_q31() argument 108 arm_q7_to_q31(input1, output, length); in test_arm_q7_to_q31() 124 const q7_t *input1, const q15_t *ref, size_t length) in test_arm_q7_to_q15() argument 133 arm_q7_to_q15(input1, output, length); in test_arm_q7_to_q15()
|
D | f16.c | 31 static void test_arm_copy_f16(const uint16_t *input1, size_t length) in test_arm_copy_f16() argument 40 arm_copy_f16((float16_t *)input1, output, length); in test_arm_copy_f16() 44 test_equal_f16(length, (float16_t *)input1, output), in test_arm_copy_f16() 83 const uint16_t *input1, const q15_t *ref, size_t length) in test_arm_f16_to_q15() argument 92 arm_f16_to_q15((float16_t *)input1, output, length); in test_arm_f16_to_q15() 108 const uint16_t *input1, const uint32_t *ref, size_t length) in test_arm_f16_to_float() argument 117 arm_f16_to_float((float16_t *)input1, output, length); in test_arm_f16_to_float() 134 const q15_t *input1, const uint16_t *ref, size_t length) in test_arm_q15_to_f16() argument 143 arm_q15_to_f16(input1, output, length); in test_arm_q15_to_f16() 160 const uint32_t *input1, const uint16_t *ref, size_t length) in test_arm_float_to_f16() argument [all …]
|
D | f32.c | 22 static void test_arm_copy_f32(const uint32_t *input1, size_t length) in test_arm_copy_f32() argument 31 arm_copy_f32((float32_t *)input1, output, length); in test_arm_copy_f32() 35 test_equal_f32(length, (float32_t *)input1, output), in test_arm_copy_f32() 74 const uint32_t *input1, const q31_t *ref, size_t length) in test_arm_float_to_q31() argument 83 arm_float_to_q31((float32_t *)input1, output, length); in test_arm_float_to_q31() 99 const uint32_t *input1, const q15_t *ref, size_t length) in test_arm_float_to_q15() argument 108 arm_float_to_q15((float32_t *)input1, output, length); in test_arm_float_to_q15() 124 const uint32_t *input1, const q7_t *ref, size_t length) in test_arm_float_to_q7() argument 133 arm_float_to_q7((float32_t *)input1, output, length); in test_arm_float_to_q7() 178 const uint32_t *input1, const uint32_t *ref, size_t length, in test_arm_sort_out() argument [all …]
|
/Zephyr-latest/tests/lib/cmsis_dsp/complexmath/src/ |
D | f16.c | 22 const uint16_t *input1, const uint16_t *ref, size_t length) in test_arm_cmplx_conj_f16() argument 35 arm_cmplx_conj_f16((float16_t *)input1, output, length); in test_arm_cmplx_conj_f16() 57 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_arm_cmplx_dot_prod_f16() argument 68 (float16_t *)input1, (float16_t *)input2, length, in test_arm_cmplx_dot_prod_f16() 94 const uint16_t *input1, const uint16_t *ref, size_t length) in test_arm_cmplx_mag_f16() argument 103 arm_cmplx_mag_f16((float16_t *)input1, output, length); in test_arm_cmplx_mag_f16() 125 const uint16_t *input1, const uint16_t *ref, size_t length) in test_arm_cmplx_mag_squared_f16() argument 134 arm_cmplx_mag_squared_f16((float16_t *)input1, output, length); in test_arm_cmplx_mag_squared_f16() 156 const uint16_t *input1, const uint16_t *input2, const uint16_t *ref, in test_arm_cmplx_mult_cmplx_f16() argument 171 (float16_t *)input1, (float16_t *)input2, output, length); in test_arm_cmplx_mult_cmplx_f16() [all …]
|
D | f32.c | 22 const uint32_t *input1, const uint32_t *ref, size_t length) in test_arm_cmplx_conj_f32() argument 35 arm_cmplx_conj_f32((float32_t *)input1, output, length); in test_arm_cmplx_conj_f32() 57 const uint32_t *input1, const uint32_t *input2, const uint32_t *ref, in test_arm_cmplx_dot_prod_f32() argument 68 (float32_t *)input1, (float32_t *)input2, length, in test_arm_cmplx_dot_prod_f32() 94 const uint32_t *input1, const uint32_t *ref, size_t length) in test_arm_cmplx_mag_f32() argument 103 arm_cmplx_mag_f32((float32_t *)input1, output, length); in test_arm_cmplx_mag_f32() 125 const uint32_t *input1, const uint32_t *ref, size_t length) in test_arm_cmplx_mag_squared_f32() argument 134 arm_cmplx_mag_squared_f32((float32_t *)input1, output, length); in test_arm_cmplx_mag_squared_f32() 156 const uint32_t *input1, const uint32_t *input2, const uint32_t *ref, in test_arm_cmplx_mult_cmplx_f32() argument 171 (float32_t *)input1, (float32_t *)input2, output, length); in test_arm_cmplx_mult_cmplx_f32() [all …]
|
D | q15.c | 24 const q15_t *input1, const q15_t *ref, size_t length) in test_arm_cmplx_conj_q15() argument 37 arm_cmplx_conj_q15(input1, output, length); in test_arm_cmplx_conj_q15() 58 const q15_t *input1, const q15_t *input2, const q31_t *ref, in test_arm_cmplx_dot_prod_q15() argument 68 arm_cmplx_dot_prod_q15(input1, input2, length, &output[0], &output[1]); in test_arm_cmplx_dot_prod_q15() 91 const q15_t *input1, const q15_t *ref, size_t length) in test_arm_cmplx_mag_q15() argument 100 arm_cmplx_mag_q15(input1, output, length); in test_arm_cmplx_mag_q15() 120 const q15_t *input1, const q15_t *ref, size_t length) in test_arm_cmplx_mag_squared_q15() argument 129 arm_cmplx_mag_squared_q15(input1, output, length); in test_arm_cmplx_mag_squared_q15() 149 const q15_t *input1, const q15_t *input2, const q15_t *ref, in test_arm_cmplx_mult_cmplx_q15() argument 163 arm_cmplx_mult_cmplx_q15(input1, input2, output, length); in test_arm_cmplx_mult_cmplx_q15() [all …]
|
D | q31.c | 23 const q31_t *input1, const q31_t *ref, size_t length) in test_arm_cmplx_conj_q31() argument 36 arm_cmplx_conj_q31(input1, output, length); in test_arm_cmplx_conj_q31() 57 const q31_t *input1, const q31_t *input2, const q63_t *ref, in test_arm_cmplx_dot_prod_q31() argument 67 arm_cmplx_dot_prod_q31(input1, input2, length, &output[0], &output[1]); in test_arm_cmplx_dot_prod_q31() 90 const q31_t *input1, const q31_t *ref, size_t length) in test_arm_cmplx_mag_q31() argument 99 arm_cmplx_mag_q31(input1, output, length); in test_arm_cmplx_mag_q31() 119 const q31_t *input1, const q31_t *ref, size_t length) in test_arm_cmplx_mag_squared_q31() argument 128 arm_cmplx_mag_squared_q31(input1, output, length); in test_arm_cmplx_mag_squared_q31() 148 const q31_t *input1, const q31_t *input2, const q31_t *ref, in test_arm_cmplx_mult_cmplx_q31() argument 162 arm_cmplx_mult_cmplx_q31(input1, input2, output, length); in test_arm_cmplx_mult_cmplx_q31() [all …]
|
/Zephyr-latest/tests/benchmarks/cmsis_dsp/basicmath/src/ |
D | q15.c | 16 static const q15_t input1[256] = { variable 99 arm_add_q15(input1, input2, output, PATTERN_LENGTH); in ZTEST() 124 arm_sub_q15(input1, input2, output, PATTERN_LENGTH); in ZTEST() 149 arm_mult_q15(input1, input2, output, PATTERN_LENGTH); in ZTEST() 174 arm_abs_q15(input1, output, PATTERN_LENGTH); in ZTEST() 199 arm_negate_q15(input1, output, PATTERN_LENGTH); in ZTEST() 224 arm_offset_q15(input1, 1.0, output, PATTERN_LENGTH); in ZTEST() 249 arm_scale_q15(input1, 0x45, 1, output, PATTERN_LENGTH); in ZTEST() 270 arm_dot_prod_q15(input1, input2, PATTERN_LENGTH, &output); in ZTEST()
|
D | q31.c | 16 static const q31_t input1[256] = { variable 163 arm_add_q31(input1, input2, output, PATTERN_LENGTH); in ZTEST() 188 arm_sub_q31(input1, input2, output, PATTERN_LENGTH); in ZTEST() 213 arm_mult_q31(input1, input2, output, PATTERN_LENGTH); in ZTEST() 238 arm_abs_q31(input1, output, PATTERN_LENGTH); in ZTEST() 263 arm_negate_q31(input1, output, PATTERN_LENGTH); in ZTEST() 288 arm_offset_q31(input1, 1.0, output, PATTERN_LENGTH); in ZTEST() 313 arm_scale_q31(input1, 0x45, 1, output, PATTERN_LENGTH); in ZTEST() 334 arm_dot_prod_q31(input1, input2, PATTERN_LENGTH, &output); in ZTEST()
|
D | q7.c | 16 static const q7_t input1[PATTERN_LENGTH] = { variable 99 arm_add_q7(input1, input2, output, PATTERN_LENGTH); in ZTEST() 124 arm_sub_q7(input1, input2, output, PATTERN_LENGTH); in ZTEST() 149 arm_mult_q7(input1, input2, output, PATTERN_LENGTH); in ZTEST() 174 arm_abs_q7(input1, output, PATTERN_LENGTH); in ZTEST() 199 arm_negate_q7(input1, output, PATTERN_LENGTH); in ZTEST() 224 arm_offset_q7(input1, 1.0, output, PATTERN_LENGTH); in ZTEST() 249 arm_scale_q7(input1, 0x45, 1, output, PATTERN_LENGTH); in ZTEST() 270 arm_dot_prod_q7(input1, input2, PATTERN_LENGTH, &output); in ZTEST()
|
D | f32.c | 16 static const uint32_t input1[256] = { variable 164 (float32_t *)input1, (float32_t *)input2, output, in ZTEST() 191 (float32_t *)input1, (float32_t *)input2, output, in ZTEST() 218 (float32_t *)input1, (float32_t *)input2, output, in ZTEST() 244 arm_abs_f32((float32_t *)input1, output, PATTERN_LENGTH); in ZTEST() 269 arm_negate_f32((float32_t *)input1, output, PATTERN_LENGTH); in ZTEST() 294 arm_offset_f32((float32_t *)input1, 1.0, output, PATTERN_LENGTH); in ZTEST() 319 arm_scale_f32((float32_t *)input1, 1.0, output, PATTERN_LENGTH); in ZTEST() 341 (float32_t *)input1, (float32_t *)input2, PATTERN_LENGTH, in ZTEST()
|
/Zephyr-latest/tests/subsys/dsp/basicmath/src/ |
D | q31.c | 20 static void test_zdsp_add_q31(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_add_q31() argument 30 zdsp_add_q31(input1, input2, output, length); in test_zdsp_add_q31() 53 static void test_zdsp_add_q31_in_place(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_add_q31_in_place() argument 63 memcpy(output, input1, length * sizeof(q31_t)); in test_zdsp_add_q31_in_place() 89 static void test_zdsp_sub_q31(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_sub_q31() argument 99 zdsp_sub_q31(input1, input2, output, length); in test_zdsp_sub_q31() 122 static void test_zdsp_sub_q31_in_place(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_sub_q31_in_place() argument 132 memcpy(output, input1, length * sizeof(q31_t)); in test_zdsp_sub_q31_in_place() 158 static void test_zdsp_mult_q31(const DSP_DATA q31_t *input1, const DSP_DATA q31_t *input2, in test_zdsp_mult_q31() argument 168 zdsp_mult_q31(input1, input2, output, length); in test_zdsp_mult_q31() [all …]
|
D | q15.c | 22 const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, const q15_t *ref, in test_zdsp_add_q15() argument 32 zdsp_add_q15(input1, input2, output, length); in test_zdsp_add_q15() 57 static void test_zdsp_add_q15_in_place(const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, in test_zdsp_add_q15_in_place() argument 67 memcpy(output, input1, length * sizeof(q15_t)); in test_zdsp_add_q15_in_place() 94 const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, const q15_t *ref, in test_zdsp_sub_q15() argument 104 zdsp_sub_q15(input1, input2, output, length); in test_zdsp_sub_q15() 129 static void test_zdsp_sub_q15_in_place(const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, in test_zdsp_sub_q15_in_place() argument 139 memcpy(output, input1, length * sizeof(q15_t)); in test_zdsp_sub_q15_in_place() 166 const DSP_DATA q15_t *input1, const DSP_DATA q15_t *input2, const q15_t *ref, in test_zdsp_mult_q15() argument 176 zdsp_mult_q15(input1, input2, output, length); in test_zdsp_mult_q15() [all …]
|
D | q7.c | 20 static void test_zdsp_add_q7(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_add_q7() argument 30 zdsp_add_q7(input1, input2, output, length); in test_zdsp_add_q7() 53 static void test_zdsp_add_q7_in_place(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_add_q7_in_place() argument 63 memcpy(output, input1, length * sizeof(q7_t)); in test_zdsp_add_q7_in_place() 89 static void test_zdsp_sub_q7(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_sub_q7() argument 99 zdsp_sub_q7(input1, input2, output, length); in test_zdsp_sub_q7() 122 static void test_zdsp_sub_q7_in_place(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_sub_q7_in_place() argument 132 memcpy(output, input1, length * sizeof(q7_t)); in test_zdsp_sub_q7_in_place() 158 static void test_zdsp_mult_q7(const DSP_DATA q7_t *input1, const DSP_DATA q7_t *input2, in test_zdsp_mult_q7() argument 168 zdsp_mult_q7(input1, input2, output, length); in test_zdsp_mult_q7() [all …]
|
D | f32.c | 19 static void test_zdsp_add_f32(const DSP_DATA uint32_t *input1, const DSP_DATA uint32_t *input2, in test_zdsp_add_f32() argument 29 zdsp_add_f32((DSP_DATA float32_t *)input1, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_add_f32() 52 static void test_zdsp_add_f32_in_place(const DSP_DATA uint32_t *input1, in test_zdsp_add_f32_in_place() argument 62 memcpy(output, input1, length * sizeof(float32_t)); in test_zdsp_add_f32_in_place() 84 static void test_zdsp_sub_f32(const DSP_DATA uint32_t *input1, const DSP_DATA uint32_t *input2, in test_zdsp_sub_f32() argument 94 zdsp_sub_f32((DSP_DATA float32_t *)input1, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_sub_f32() 117 static void test_zdsp_sub_f32_in_place(const DSP_DATA uint32_t *input1, in test_zdsp_sub_f32_in_place() argument 127 memcpy(output, input1, length * sizeof(float32_t)); in test_zdsp_sub_f32_in_place() 149 static void test_zdsp_mult_f32(const DSP_DATA uint32_t *input1, const DSP_DATA uint32_t *input2, in test_zdsp_mult_f32() argument 159 zdsp_mult_f32((DSP_DATA float32_t *)input1, (DSP_DATA float32_t *)input2, output, length); in test_zdsp_mult_f32() [all …]
|