Lines Matching refs:src1
44 static void test_vector_fmul(const float *src0, const float *src1) in test_vector_fmul() argument
50 declare_func(void, float *dst, const float *src0, const float *src1, in test_vector_fmul()
53 call_ref(cdst, src0, src1, LEN); in test_vector_fmul()
54 call_new(odst, src0, src1, LEN); in test_vector_fmul()
56 double t = fabs(src0[i]) + fabs(src1[i]) + fabs(src0[i] * src1[i]) + 1.0; in test_vector_fmul()
64 bench_new(odst, src0, src1, LEN); in test_vector_fmul()
67 static void test_vector_dmul(const double *src0, const double *src1) in test_vector_dmul() argument
73 declare_func(void, double *dst, const double *src0, const double *src1, in test_vector_dmul()
76 call_ref(cdst, src0, src1, LEN); in test_vector_dmul()
77 call_new(odst, src0, src1, LEN); in test_vector_dmul()
79 double t = fabs(src0[i]) + fabs(src1[i]) + fabs(src0[i] * src1[i]) + 1.0; in test_vector_dmul()
87 bench_new(odst, src0, src1, LEN); in test_vector_dmul()
91 static void test_vector_fmul_add(const float *src0, const float *src1, const float *src2) in test_vector_fmul_add() argument
97 declare_func(void, float *dst, const float *src0, const float *src1, in test_vector_fmul_add()
100 call_ref(cdst, src0, src1, src2, LEN); in test_vector_fmul_add()
101 call_new(odst, src0, src1, src2, LEN); in test_vector_fmul_add()
110 bench_new(odst, src0, src1, src2, LEN); in test_vector_fmul_add()
113 static void test_vector_fmul_scalar(const float *src0, const float *src1) in test_vector_fmul_scalar() argument
121 call_ref(cdst, src0, src1[0], LEN); in test_vector_fmul_scalar()
122 call_new(odst, src0, src1[0], LEN); in test_vector_fmul_scalar()
124 double t = fabs(src0[i]) + fabs(src1[0]) + fabs(src0[i] * src1[0]) + 1.0; in test_vector_fmul_scalar()
132 bench_new(odst, src0, src1[0], LEN); in test_vector_fmul_scalar()
136 static void test_vector_fmul_window(const float *src0, const float *src1, const float *win) in test_vector_fmul_window() argument
142 declare_func(void, float *dst, const float *src0, const float *src1, in test_vector_fmul_window()
145 call_ref(cdst, src0, src1, win, LEN / 2); in test_vector_fmul_window()
146 call_new(odst, src0, src1, win, LEN / 2); in test_vector_fmul_window()
155 bench_new(odst, src0, src1, win, LEN / 2); in test_vector_fmul_window()
159 static void test_vector_fmac_scalar(const float *src0, const float *src1, const float *src2) in test_vector_fmac_scalar() argument
170 call_ref(cdst, src0, src1[0], LEN); in test_vector_fmac_scalar()
171 call_new(odst, src0, src1[0], LEN); in test_vector_fmac_scalar()
181 bench_new(odst, src0, src1[0], LEN); in test_vector_fmac_scalar()
184 static void test_vector_dmul_scalar(const double *src0, const double *src1) in test_vector_dmul_scalar() argument
192 call_ref(cdst, src0, src1[0], LEN); in test_vector_dmul_scalar()
193 call_new(odst, src0, src1[0], LEN); in test_vector_dmul_scalar()
195 double t = fabs(src1[0]) + fabs(src0[i]) + fabs(src1[0] * src0[i]) + 1.0; in test_vector_dmul_scalar()
203 bench_new(odst, src0, src1[0], LEN); in test_vector_dmul_scalar()
207 static void test_vector_dmac_scalar(const double *src0, const double *src1, const double *src2) in test_vector_dmac_scalar() argument
217 call_ref(cdst, src0, src1[0], LEN); in test_vector_dmac_scalar()
218 call_new(odst, src0, src1[0], LEN); in test_vector_dmac_scalar()
228 bench_new(odst, src0, src1[0], LEN); in test_vector_dmac_scalar()
231 static void test_butterflies_float(const float *src0, const float *src1) in test_butterflies_float() argument
239 declare_func(void, float *av_restrict src0, float *av_restrict src1, in test_butterflies_float()
243 memcpy(cdst1, src1, LEN * sizeof(*src1)); in test_butterflies_float()
245 memcpy(odst1, src1, LEN * sizeof(*src1)); in test_butterflies_float()
261 memcpy(odst1, src1, LEN * sizeof(*src1)); in test_butterflies_float()
266 static void test_scalarproduct_float(const float *src0, const float *src1) in test_scalarproduct_float() argument
270 declare_func_float(float, const float *src0, const float *src1, int len); in test_scalarproduct_float()
272 cprod = call_ref(src0, src1, LEN); in test_scalarproduct_float()
273 oprod = call_new(src0, src1, LEN); in test_scalarproduct_float()
279 bench_new(src0, src1, LEN); in test_scalarproduct_float()
285 LOCAL_ALIGNED_32(float, src1, [LEN]); in checkasm_check_float_dsp()
301 randomize_buffer(src1); in checkasm_check_float_dsp()
311 test_vector_fmul(src0, src1); in checkasm_check_float_dsp()
313 test_vector_fmul_add(src0, src1, src2); in checkasm_check_float_dsp()
317 test_vector_fmul(src0, src1); in checkasm_check_float_dsp()
322 test_vector_fmac_scalar(src0, src1, src2); in checkasm_check_float_dsp()