/cmsis-dsp-3.5.0/Testing/Source/Benchmarks/ |
D | QuaternionMathsBenchmarksF32.cpp | 7 arm_quaternion_norm_f32(this->inp1,this->outp,this->nb); in test_quaternion_norm_f32() 14 arm_quaternion_inverse_f32(this->inp1,this->outp,this->nb); in test_quaternion_inverse_f32() 22 arm_quaternion_conjugate_f32(this->inp1,this->outp,this->nb); in test_quaternion_conjugate_f32() 29 arm_quaternion_normalize_f32(this->inp1,this->outp,this->nb); in test_quaternion_normalize_f32() 39 arm_quaternion_product_single_f32(this->inp1,this->inp2,this->outp); in test_quaternion_prod_single_f32() 41 this->inp1 += 4; in test_quaternion_prod_single_f32() 50 arm_quaternion_product_f32(this->inp1,this->inp2,outp,this->nb); in test_quaternion_product_f32() 58 arm_quaternion2rotation_f32(this->inp1,this->outp,this->nb); in test_quaternion2rotation_f32() 68 arm_rotation2quaternion_f32(this->inp1,this->outp,this->nb); in test_rotation2quaternion_f32() 89 this->inp1=input1.ptr(); in setUp() [all …]
|
D | BasicMathsBenchmarksF32.cpp | 7 arm_mult_f32(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_f32() 12 arm_add_f32(inp1,inp2,outp,this->nb); in vec_add_f32() 17 arm_sub_f32(inp1,inp2,outp,this->nb); in vec_sub_f32() 22 arm_abs_f32(inp1,outp,this->nb); in vec_abs_f32() 27 arm_negate_f32(inp1,outp,this->nb); in vec_negate_f32() 32 arm_offset_f32(inp1,1.0,outp,this->nb); in vec_offset_f32() 37 arm_scale_f32(inp1,1.0,outp,this->nb); in vec_scale_f32() 44 arm_dot_prod_f32(inp1,inp2,this->nb,&result); in vec_dot_f32() 75 this->inp1=input1.ptr(); in setUp() 82 this->inp1=input1.ptr(); in setUp() [all …]
|
D | BasicMathsBenchmarksQ15.cpp | 7 arm_mult_q15(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_q15() 12 arm_add_q15(this->inp1,this->inp2,this->outp,this->nb); in vec_add_q15() 17 arm_sub_q15(this->inp1,this->inp2,this->outp,this->nb); in vec_sub_q15() 22 arm_abs_q15(this->inp1,this->outp,this->nb); in vec_abs_q15() 27 arm_negate_q15(this->inp1,this->outp,this->nb); in vec_negate_q15() 32 arm_offset_q15(this->inp1,1.0,this->outp,this->nb); in vec_offset_q15() 37 arm_scale_q15(this->inp1,0x45,1,this->outp,this->nb); in vec_scale_q15() 44 arm_dot_prod_q15(this->inp1,this->inp2,this->nb,&result); in vec_dot_q15() 69 this->inp1=input1.ptr(); in setUp() 74 this->inp1=input1.ptr(); in setUp() [all …]
|
D | BasicMathsBenchmarksQ7.cpp | 7 arm_mult_q7(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_q7() 12 arm_add_q7(this->inp1,this->inp2,this->outp,this->nb); in vec_add_q7() 17 arm_sub_q7(this->inp1,this->inp2,this->outp,this->nb); in vec_sub_q7() 22 arm_abs_q7(this->inp1,this->outp,this->nb); in vec_abs_q7() 27 arm_negate_q7(this->inp1,this->outp,this->nb); in vec_negate_q7() 32 arm_offset_q7(this->inp1,1.0,this->outp,this->nb); in vec_offset_q7() 37 arm_scale_q7(this->inp1,0x45,1,this->outp,this->nb); in vec_scale_q7() 45 arm_dot_prod_q7(this->inp1,this->inp2,this->nb,&result); in vec_dot_q7() 72 this->inp1=input1.ptr(); in setUp() 77 this->inp1=input1.ptr(); in setUp() [all …]
|
D | BasicMathsBenchmarksQ31.cpp | 7 arm_mult_q31(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_q31() 12 arm_add_q31(this->inp1,this->inp2,this->outp,this->nb); in vec_add_q31() 17 arm_sub_q31(this->inp1,this->inp2,this->outp,this->nb); in vec_sub_q31() 22 arm_abs_q31(this->inp1,this->outp,this->nb); in vec_abs_q31() 27 arm_negate_q31(this->inp1,this->outp,this->nb); in vec_negate_q31() 32 arm_offset_q31(this->inp1,1.0,this->outp,this->nb); in vec_offset_q31() 37 arm_scale_q31(this->inp1,0x45,1,this->outp,this->nb); in vec_scale_q31() 44 arm_dot_prod_q31(this->inp1,this->inp2,this->nb,&result); in vec_dot_q31() 70 this->inp1=input1.ptr(); in setUp() 76 this->inp1=input1.ptr(); in setUp() [all …]
|
D | BasicMathsBenchmarksF16.cpp | 7 arm_mult_f16(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_f16() 12 arm_add_f16(inp1,inp2,outp,this->nb); in vec_add_f16() 17 arm_sub_f16(inp1,inp2,outp,this->nb); in vec_sub_f16() 22 arm_abs_f16(inp1,outp,this->nb); in vec_abs_f16() 27 arm_negate_f16(inp1,outp,this->nb); in vec_negate_f16() 32 arm_offset_f16(inp1,1.0,outp,this->nb); in vec_offset_f16() 37 arm_scale_f16(inp1,1.0,outp,this->nb); in vec_scale_f16() 44 arm_dot_prod_f16(inp1,inp2,this->nb,&result); in vec_dot_f16() 75 this->inp1=input1.ptr(); in setUp() 82 this->inp1=input1.ptr(); in setUp() [all …]
|
D | ComplexMathsBenchmarksQ15.cpp | 7 arm_cmplx_conj_q15(this->inp1,this->outp,this->nb); in vec_conj_q15() 14 arm_cmplx_dot_prod_q15(this->inp1,this->inp2,this->nb,&real,&imag); in vec_dot_prod_q15() 19 arm_cmplx_mag_q15(this->inp1,this->outp,this->nb); in vec_mag_q15() 24 arm_cmplx_mag_squared_q15(this->inp1,this->outp,this->nb); in vec_mag_squared_q15() 29 arm_cmplx_mult_cmplx_q15(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_cmplx_q15() 34 arm_cmplx_mult_real_q15(this->inp1,this->inp3,this->outp,this->nb); in vec_mult_real_q15() 55 this->inp1=input1.ptr(); in setUp() 60 this->inp1=input1.ptr(); in setUp() 65 this->inp1=input1.ptr(); in setUp() 71 this->inp1=input1.ptr(); in setUp()
|
D | ComplexMathsBenchmarksQ31.cpp | 7 arm_cmplx_conj_q31(this->inp1,this->outp,this->nb); in vec_conj_q31() 14 arm_cmplx_dot_prod_q31(this->inp1,this->inp2,this->nb,&real,&imag); in vec_dot_prod_q31() 19 arm_cmplx_mag_q31(this->inp1,this->outp,this->nb); in vec_mag_q31() 24 arm_cmplx_mag_squared_q31(this->inp1,this->outp,this->nb); in vec_mag_squared_q31() 29 arm_cmplx_mult_cmplx_q31(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_cmplx_q31() 34 arm_cmplx_mult_real_q31(this->inp1,this->inp3,this->outp,this->nb); in vec_mult_real_q31() 55 this->inp1=input1.ptr(); in setUp() 60 this->inp1=input1.ptr(); in setUp() 65 this->inp1=input1.ptr(); in setUp() 71 this->inp1=input1.ptr(); in setUp()
|
D | ComplexMathsBenchmarksF16.cpp | 7 arm_cmplx_conj_f16(this->inp1,this->outp,this->nb); in vec_conj_f16() 13 arm_cmplx_dot_prod_f16(this->inp1,this->inp2,this->nb,&real,&imag); in vec_dot_prod_f16() 18 arm_cmplx_mag_f16(this->inp1,this->outp,this->nb); in vec_mag_f16() 23 arm_cmplx_mag_squared_f16(this->inp1,this->outp,this->nb); in vec_mag_squared_f16() 28 arm_cmplx_mult_cmplx_f16(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_cmplx_f16() 33 arm_cmplx_mult_real_f16(this->inp1,this->inp3,this->outp,this->nb); in vec_mult_real_f16() 55 this->inp1=input1.ptr(); in setUp() 60 this->inp1=input1.ptr(); in setUp() 65 this->inp1=input1.ptr(); in setUp() 71 this->inp1=input1.ptr(); in setUp()
|
D | ComplexMathsBenchmarksF32.cpp | 7 arm_cmplx_conj_f32(this->inp1,this->outp,this->nb); in vec_conj_f32() 13 arm_cmplx_dot_prod_f32(this->inp1,this->inp2,this->nb,&real,&imag); in vec_dot_prod_f32() 18 arm_cmplx_mag_f32(this->inp1,this->outp,this->nb); in vec_mag_f32() 23 arm_cmplx_mag_squared_f32(this->inp1,this->outp,this->nb); in vec_mag_squared_f32() 28 arm_cmplx_mult_cmplx_f32(this->inp1,this->inp2,this->outp,this->nb); in vec_mult_cmplx_f32() 33 arm_cmplx_mult_real_f32(this->inp1,this->inp3,this->outp,this->nb); in vec_mult_real_f32() 55 this->inp1=input1.ptr(); in setUp() 60 this->inp1=input1.ptr(); in setUp() 65 this->inp1=input1.ptr(); in setUp() 71 this->inp1=input1.ptr(); in setUp()
|
D | MicroBenchmarksF32.cpp | 70 add_while_f32(this->inp1,this->inp2,this->outp,this->nbSamples); in test_while_f32() 75 add_for_f32(this->inp1,this->inp2,this->outp,this->nbSamples); in test_for_f32() 80 add_array_f32(this->inp1,this->inp2,this->outp,this->nbSamples); in test_array_f32() 97 this->inp1=input1.ptr(); in setUp()
|
D | MicroBenchmarksQ15.cpp | 70 add_while_q15(this->inp1,this->inp2,this->outp,this->nbSamples); in test_while_q15() 75 add_for_q15(this->inp1,this->inp2,this->outp,this->nbSamples); in test_for_q15() 80 add_array_q15(this->inp1,this->inp2,this->outp,this->nbSamples); in test_array_q15() 97 this->inp1=input1.ptr(); in setUp()
|
D | MicroBenchmarksF16.cpp | 70 add_while_f16(this->inp1,this->inp2,this->outp,this->nbSamples); in test_while_f16() 75 add_for_f16(this->inp1,this->inp2,this->outp,this->nbSamples); in test_for_f16() 80 add_array_f16(this->inp1,this->inp2,this->outp,this->nbSamples); in test_array_f16() 97 this->inp1=input1.ptr(); in setUp()
|
/cmsis-dsp-3.5.0/Testing/Source/Tests/ |
D | QuaternionTestsF32.cpp | 20 const float32_t *inp1=input1.ptr(); in test_quaternion_norm_f32() local 23 arm_quaternion_norm_f32(inp1,outp,output.nbSamples()); in test_quaternion_norm_f32() 35 const float32_t *inp1=input1.ptr(); in test_quaternion_inverse_f32() local 38 arm_quaternion_inverse_f32(inp1,outp,input1.nbSamples() >> 2); in test_quaternion_inverse_f32() 50 const float32_t *inp1=input1.ptr(); in test_quaternion_conjugate_f32() local 53 arm_quaternion_conjugate_f32(inp1,outp,input1.nbSamples() >> 2); in test_quaternion_conjugate_f32() 65 const float32_t *inp1=input1.ptr(); in test_quaternion_normalize_f32() local 68 arm_quaternion_normalize_f32(inp1,outp,input1.nbSamples() >> 2); in test_quaternion_normalize_f32() 80 const float32_t *inp1=input1.ptr(); in test_quaternion_prod_single_f32() local 86 arm_quaternion_product_single_f32(inp1,inp2,outp); in test_quaternion_prod_single_f32() [all …]
|
D | UnaryTestsF16.cpp | 55 const float16_t *inp1=input1.ptr(); \ 68 const float16_t *inp1=input1.ptr(); \ 81 memcpy((void*)ap,(const void*)inp1,sizeof(float16_t)*rows*columns);\ 96 memcpy((void*)ap,(const void*)inp1,sizeof(float16_t)*rows*rows); \ 111 memcpy((void*)ap,(const void*)inp1,sizeof(float16_t)*rows*columns);\ 129 memcpy((void*)ap,(const void*)inp1,2*sizeof(float16_t)*rows*columns);\ 145 const float16_t *inp1=input1.ptr(); \ 160 memcpy((void*)ap,(const void*)inp1,sizeof(float16_t)*rows*internal);\ 184 const float16_t *inp1=input1.ptr(); in test_householder_f16() local 194 float16_t beta = arm_householder_f16(inp1,DEFAULT_HOUSEHOLDER_THRESHOLD_F16,vecDim,outp); in test_householder_f16() [all …]
|
D | UnaryTestsF64.cpp | 51 const float64_t *inp1=input1.ptr(); \ 64 const float64_t *inp1=input1.ptr(); \ 77 memcpy((void*)ap,(const void*)inp1,sizeof(float64_t)*rows*columns);\ 92 memcpy((void*)ap,(const void*)inp1,sizeof(float64_t)*rows*rows); \ 107 memcpy((void*)ap,(const void*)inp1,sizeof(float64_t)*rows*columns);\ 125 memcpy((void*)ap,(const void*)inp1,sizeof(float64_t)*rows*columns);\ 159 const float64_t *inp1=input1.ptr(); in test_householder_f64() local 169 float64_t beta = arm_householder_f64(inp1,DEFAULT_HOUSEHOLDER_THRESHOLD_F64,vecDim,outp); in test_householder_f64() 173 inp1 += vecDim; in test_householder_f64() 200 const float64_t *inp1=input1.ptr(); in test_mat_qr_f64() local [all …]
|
D | ComplexTestsQ15.cpp | 23 const q15_t *inp1=input1.ptr(); in test_cmplx_conj_q15() local 26 arm_cmplx_conj_q15(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_conj_q15() 42 const q15_t *inp1=input1.ptr(); in test_cmplx_dot_prod_q15() local 46 arm_cmplx_dot_prod_q15(inp1,inp2,input1.nbSamples() >> 1 ,&re,&im); in test_cmplx_dot_prod_q15() 62 const q15_t *inp1=input1.ptr(); in test_cmplx_mag_q15() local 65 arm_cmplx_mag_q15(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_q15() 77 const q15_t *inp1=input1.ptr(); in test_cmplx_mag_fast_q15() local 80 arm_cmplx_mag_fast_q15(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_fast_q15() 92 const q15_t *inp1=input1.ptr(); in test_cmplx_mag_squared_q15() local 95 arm_cmplx_mag_squared_q15(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_squared_q15() [all …]
|
D | ComplexTestsF16.cpp | 11 const float16_t *inp1=input1.ptr(); in test_cmplx_conj_f16() local 15 arm_cmplx_conj_f16(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_conj_f16() 31 const float16_t *inp1=input1.ptr(); in test_cmplx_dot_prod_f16() local 35 arm_cmplx_dot_prod_f16(inp1,inp2,input1.nbSamples() >> 1,&re,&im); in test_cmplx_dot_prod_f16() 49 const float16_t *inp1=input1.ptr(); in test_cmplx_mag_f16() local 52 arm_cmplx_mag_f16(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_f16() 63 const float16_t *inp1=input1.ptr(); in test_cmplx_mag_squared_f16() local 66 arm_cmplx_mag_squared_f16(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_squared_f16() 78 const float16_t *inp1=input1.ptr(); in test_cmplx_mult_cmplx_f16() local 82 arm_cmplx_mult_cmplx_f16(inp1,inp2,outp,input1.nbSamples() >> 1 ); in test_cmplx_mult_cmplx_f16() [all …]
|
D | ComplexTestsF32.cpp | 11 const float32_t *inp1=input1.ptr(); in test_cmplx_conj_f32() local 15 arm_cmplx_conj_f32(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_conj_f32() 31 const float32_t *inp1=input1.ptr(); in test_cmplx_dot_prod_f32() local 35 arm_cmplx_dot_prod_f32(inp1,inp2,input1.nbSamples() >> 1,&re,&im); in test_cmplx_dot_prod_f32() 49 const float32_t *inp1=input1.ptr(); in test_cmplx_mag_f32() local 52 arm_cmplx_mag_f32(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_f32() 63 const float32_t *inp1=input1.ptr(); in test_cmplx_mag_squared_f32() local 66 arm_cmplx_mag_squared_f32(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_squared_f32() 78 const float32_t *inp1=input1.ptr(); in test_cmplx_mult_cmplx_f32() local 82 arm_cmplx_mult_cmplx_f32(inp1,inp2,outp,input1.nbSamples() >> 1 ); in test_cmplx_mult_cmplx_f32() [all …]
|
D | ComplexTestsQ31.cpp | 19 const q31_t *inp1=input1.ptr(); in test_cmplx_conj_q31() local 22 arm_cmplx_conj_q31(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_conj_q31() 38 const q31_t *inp1=input1.ptr(); in test_cmplx_dot_prod_q31() local 42 arm_cmplx_dot_prod_q31(inp1,inp2,input1.nbSamples() >> 1 ,&re,&im); in test_cmplx_dot_prod_q31() 58 const q31_t *inp1=input1.ptr(); in test_cmplx_mag_q31() local 61 arm_cmplx_mag_q31(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_q31() 73 const q31_t *inp1=input1.ptr(); in test_cmplx_mag_squared_q31() local 76 arm_cmplx_mag_squared_q31(inp1,outp,input1.nbSamples() >> 1 ); in test_cmplx_mag_squared_q31() 89 const q31_t *inp1=input1.ptr(); in test_cmplx_mult_cmplx_q31() local 93 arm_cmplx_mult_cmplx_q31(inp1,inp2,outp,input1.nbSamples() >> 1 ); in test_cmplx_mult_cmplx_q31() [all …]
|
D | BasicTestsF16.cpp | 19 const float16_t *inp1=input1.ptr(); \ 27 arm_add_f16(inp1,inp2,outp,input1.nbSamples()); in test_add_f16() 57 arm_sub_f16(inp1,inp2,outp,input1.nbSamples()); in test_sub_f16() 72 arm_mult_f16(inp1,inp2,outp,input1.nbSamples()); in test_mult_f16() 89 arm_negate_f16(inp1,outp,input1.nbSamples()); in test_negate_f16() 106 arm_offset_f16(inp1,0.5,outp,input1.nbSamples()); in test_offset_f16() 123 arm_scale_f16(inp1,0.5,outp,input1.nbSamples()); in test_scale_f16() 140 arm_dot_prod_f16(inp1,inp2,input1.nbSamples(),&r); in test_dot_prod_f16() 160 arm_abs_f16(inp1,outp,input1.nbSamples()); in test_abs_f16()
|
D | BasicTestsF32.cpp | 16 const float32_t *inp1=input1.ptr(); \ 24 arm_add_f32(inp1,inp2,outp,input1.nbSamples()); in test_add_f32() 53 arm_sub_f32(inp1,inp2,outp,input1.nbSamples()); in test_sub_f32() 67 arm_mult_f32(inp1,inp2,outp,input1.nbSamples()); in test_mult_f32() 83 arm_negate_f32(inp1,outp,input1.nbSamples()); in test_negate_f32() 99 arm_offset_f32(inp1,0.5,outp,input1.nbSamples()); in test_offset_f32() 115 arm_scale_f32(inp1,0.5,outp,input1.nbSamples()); in test_scale_f32() 131 arm_dot_prod_f32(inp1,inp2,input1.nbSamples(),&r); in test_dot_prod_f32() 150 arm_abs_f32(inp1,outp,input1.nbSamples()); in test_abs_f32()
|
D | BasicTestsF64.cpp | 16 const float64_t *inp1=input1.ptr(); \ 24 arm_add_f64(inp1,inp2,outp,input1.nbSamples()); in test_add_f64() 54 arm_sub_f64(inp1,inp2,outp,input1.nbSamples()); in test_sub_f64() 68 arm_mult_f64(inp1,inp2,outp,input1.nbSamples()); in test_mult_f64() 84 arm_negate_f64(inp1,outp,input1.nbSamples()); in test_negate_f64() 100 arm_offset_f64(inp1,0.5,outp,input1.nbSamples()); in test_offset_f64() 116 arm_scale_f64(inp1,0.5,outp,input1.nbSamples()); in test_scale_f64() 132 arm_dot_prod_f64(inp1,inp2,input1.nbSamples(),&r); in test_dot_prod_f64() 151 arm_abs_f64(inp1,outp,input1.nbSamples()); in test_abs_f64()
|
D | UnaryTestsF32.cpp | 76 const float32_t *inp1=input1.ptr(); \ 89 const float32_t *inp1=input1.ptr(); \ 102 memcpy((void*)ap,(const void*)inp1,sizeof(float32_t)*rows*columns);\ 117 memcpy((void*)ap,(const void*)inp1,sizeof(float32_t)*rows*rows); \ 132 memcpy((void*)ap,(const void*)inp1,sizeof(float32_t)*rows*columns);\ 150 memcpy((void*)ap,(const void*)inp1,2*sizeof(float32_t)*rows*columns);\ 166 const float32_t *inp1=input1.ptr(); \ 181 memcpy((void*)ap,(const void*)inp1,sizeof(float32_t)*rows*internal);\ 189 memcpy((void*)ap,(const void*)inp1,sizeof(float32_t)*rows*columns);\ 211 const float32_t *inp1=input1.ptr(); in test_householder_f32() local [all …]
|
D | BasicTestsQ7.cpp | 13 const q7_t *inp1=input1.ptr(); \ 18 const uint8_t *inp1=inputLogical1.ptr(); \ 26 arm_add_q7(inp1,inp2,outp,input1.nbSamples()); in test_add_q7() 55 arm_sub_q7(inp1,inp2,outp,input1.nbSamples()); in test_sub_q7() 69 arm_mult_q7(inp1,inp2,outp,input1.nbSamples()); in test_mult_q7() 90 arm_mult_q7(inp1,inp2,outp,input1.nbSamples()); in test_mult_short_q7() 102 const q7_t *inp1=input1.ptr(); in test_negate_q7() local 105 arm_negate_q7(inp1,outp,input1.nbSamples()); in test_negate_q7() 117 const q7_t *inp1=input1.ptr(); in test_offset_q7() local 120 arm_offset_q7(inp1,this->scalar,outp,input1.nbSamples()); in test_offset_q7() [all …]
|