Lines Matching refs:src1
35 src1[i] = sign_extend(rnd(), 24); \
40 static void check_vector_fmul(const int *src0, const int *src1) in check_vector_fmul() argument
45 declare_func(void, int *dst, const int *src0, const int *src1, int len); in check_vector_fmul()
47 call_ref(ref, src0, src1, BUF_SIZE); in check_vector_fmul()
48 call_new(new, src0, src1, BUF_SIZE); in check_vector_fmul()
51 bench_new(new, src0, src1, BUF_SIZE); in check_vector_fmul()
54 static void check_vector_fmul_add(const int *src0, const int *src1, const int *src2) in check_vector_fmul_add() argument
59 declare_func(void, int *dst, const int *src0, const int *src1, const int *src2, int len); in check_vector_fmul_add()
61 call_ref(ref, src0, src1, src2, BUF_SIZE); in check_vector_fmul_add()
62 call_new(new, src0, src1, src2, BUF_SIZE); in check_vector_fmul_add()
65 bench_new(new, src0, src1, src2, BUF_SIZE); in check_vector_fmul_add()
68 static void check_vector_fmul_window(const int32_t *src0, const int32_t *src1, const int32_t *win) in check_vector_fmul_window() argument
73 …declare_func(void, int32_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int… in check_vector_fmul_window()
75 call_ref(ref, src0, src1, win, BUF_SIZE / 2); in check_vector_fmul_window()
76 call_new(new, src0, src1, win, BUF_SIZE / 2); in check_vector_fmul_window()
79 bench_new(new, src0, src1, win, BUF_SIZE / 2); in check_vector_fmul_window()
82 static void check_vector_fmul_window_scaled(const int32_t *src0, const int32_t *src1, const int32_t… in check_vector_fmul_window_scaled() argument
87 …declare_func(void, int16_t *dst, const int32_t *src0, const int32_t *src1, const int32_t *win, int… in check_vector_fmul_window_scaled()
89 call_ref(ref, src0, src1, win, BUF_SIZE / 2, 2); in check_vector_fmul_window_scaled()
90 call_new(new, src0, src1, win, BUF_SIZE / 2, 2); in check_vector_fmul_window_scaled()
93 bench_new(new, src0, src1, win, BUF_SIZE / 2, 2); in check_vector_fmul_window_scaled()
96 static void check_butterflies(const int *src0, const int *src1) in check_butterflies() argument
103 declare_func(void, int *av_restrict src0, int *av_restrict src1, int len); in check_butterflies()
106 memcpy(ref1, src1, BUF_SIZE * sizeof(*src1)); in check_butterflies()
108 memcpy(new1, src1, BUF_SIZE * sizeof(*src1)); in check_butterflies()
116 memcpy(new1, src1, BUF_SIZE * sizeof(*src1)); in check_butterflies()
120 static void check_scalarproduct_fixed(const int *src0, const int *src1) in check_scalarproduct_fixed() argument
124 declare_func(int, const int *src0, const int *src1, int len); in check_scalarproduct_fixed()
126 ref = call_ref(src0, src1, BUF_SIZE); in check_scalarproduct_fixed()
127 new = call_new(src0, src1, BUF_SIZE); in check_scalarproduct_fixed()
130 bench_new(src0, src1, BUF_SIZE); in check_scalarproduct_fixed()
136 LOCAL_ALIGNED_32(int32_t, src1, [BUF_SIZE]); in checkasm_check_fixed_dsp()
142 check_vector_fmul(src0, src1); in checkasm_check_fixed_dsp()
144 check_vector_fmul_add(src0, src1, src2); in checkasm_check_fixed_dsp()
146 check_vector_fmul(src0, src1); in checkasm_check_fixed_dsp()
148 check_vector_fmul_window(src0, src1, src2); in checkasm_check_fixed_dsp()
150 check_vector_fmul_window_scaled(src0, src1, src2); in checkasm_check_fixed_dsp()
153 check_butterflies(src0, src1); in checkasm_check_fixed_dsp()
156 check_scalarproduct_fixed(src0, src1); in checkasm_check_fixed_dsp()