• Home
  • Raw
  • Download

Lines Matching refs:src0

42 static void test_vector_fmul(const float *src0, const float *src1)  in test_vector_fmul()  argument
48 declare_func(void, float *dst, const float *src0, const float *src1, in test_vector_fmul()
51 call_ref(cdst, src0, src1, LEN); in test_vector_fmul()
52 call_new(odst, src0, src1, LEN); in test_vector_fmul()
54 double t = fabs(src0[i]) + fabs(src1[i]) + fabs(src0[i] * src1[i]) + 1.0; in test_vector_fmul()
62 bench_new(odst, src0, src1, LEN); in test_vector_fmul()
65 static void test_vector_dmul(const double *src0, const double *src1) in test_vector_dmul() argument
71 declare_func(void, double *dst, const double *src0, const double *src1, in test_vector_dmul()
74 call_ref(cdst, src0, src1, LEN); in test_vector_dmul()
75 call_new(odst, src0, src1, LEN); in test_vector_dmul()
77 double t = fabs(src0[i]) + fabs(src1[i]) + fabs(src0[i] * src1[i]) + 1.0; in test_vector_dmul()
85 bench_new(odst, src0, src1, LEN); in test_vector_dmul()
89 static void test_vector_fmul_add(const float *src0, const float *src1, const float *src2) in test_vector_fmul_add() argument
95 declare_func(void, float *dst, const float *src0, const float *src1, in test_vector_fmul_add()
98 call_ref(cdst, src0, src1, src2, LEN); in test_vector_fmul_add()
99 call_new(odst, src0, src1, src2, LEN); in test_vector_fmul_add()
108 bench_new(odst, src0, src1, src2, LEN); in test_vector_fmul_add()
111 static void test_vector_fmul_scalar(const float *src0, const float *src1) in test_vector_fmul_scalar() argument
119 call_ref(cdst, src0, src1[0], LEN); in test_vector_fmul_scalar()
120 call_new(odst, src0, src1[0], LEN); in test_vector_fmul_scalar()
122 double t = fabs(src0[i]) + fabs(src1[0]) + fabs(src0[i] * src1[0]) + 1.0; in test_vector_fmul_scalar()
130 bench_new(odst, src0, src1[0], LEN); in test_vector_fmul_scalar()
134 static void test_vector_fmul_window(const float *src0, const float *src1, const float *win) in test_vector_fmul_window() argument
140 declare_func(void, float *dst, const float *src0, const float *src1, in test_vector_fmul_window()
143 call_ref(cdst, src0, src1, win, LEN / 2); in test_vector_fmul_window()
144 call_new(odst, src0, src1, win, LEN / 2); in test_vector_fmul_window()
153 bench_new(odst, src0, src1, win, LEN / 2); in test_vector_fmul_window()
157 static void test_vector_fmac_scalar(const float *src0, const float *src1, const float *src2) in test_vector_fmac_scalar() argument
168 call_ref(cdst, src0, src1[0], LEN); in test_vector_fmac_scalar()
169 call_new(odst, src0, src1[0], LEN); in test_vector_fmac_scalar()
179 bench_new(odst, src0, src1[0], LEN); in test_vector_fmac_scalar()
182 static void test_vector_dmul_scalar(const double *src0, const double *src1) in test_vector_dmul_scalar() argument
190 call_ref(cdst, src0, src1[0], LEN); in test_vector_dmul_scalar()
191 call_new(odst, src0, src1[0], LEN); in test_vector_dmul_scalar()
193 double t = fabs(src1[0]) + fabs(src0[i]) + fabs(src1[0] * src0[i]) + 1.0; in test_vector_dmul_scalar()
201 bench_new(odst, src0, src1[0], LEN); in test_vector_dmul_scalar()
205 static void test_vector_dmac_scalar(const double *src0, const double *src1, const double *src2) in test_vector_dmac_scalar() argument
215 call_ref(cdst, src0, src1[0], LEN); in test_vector_dmac_scalar()
216 call_new(odst, src0, src1[0], LEN); in test_vector_dmac_scalar()
226 bench_new(odst, src0, src1[0], LEN); in test_vector_dmac_scalar()
229 static void test_butterflies_float(const float *src0, const float *src1) in test_butterflies_float() argument
237 declare_func(void, float *av_restrict src0, float *av_restrict src1, in test_butterflies_float()
240 memcpy(cdst, src0, LEN * sizeof(*src0)); in test_butterflies_float()
242 memcpy(odst, src0, LEN * sizeof(*src0)); in test_butterflies_float()
258 memcpy(odst, src0, LEN * sizeof(*src0)); in test_butterflies_float()
264 static void test_scalarproduct_float(const float *src0, const float *src1) in test_scalarproduct_float() argument
268 declare_func_float(float, const float *src0, const float *src1, int len); in test_scalarproduct_float()
270 cprod = call_ref(src0, src1, LEN); in test_scalarproduct_float()
271 oprod = call_new(src0, src1, LEN); in test_scalarproduct_float()
277 bench_new(src0, src1, LEN); in test_scalarproduct_float()
282 LOCAL_ALIGNED_32(float, src0, [LEN]); in checkasm_check_float_dsp()
298 randomize_buffer(src0); in checkasm_check_float_dsp()
309 test_vector_fmul(src0, src1); in checkasm_check_float_dsp()
311 test_vector_fmul_add(src0, src1, src2); in checkasm_check_float_dsp()
315 test_vector_fmul(src0, src1); in checkasm_check_float_dsp()
320 test_vector_fmac_scalar(src0, src1, src2); in checkasm_check_float_dsp()