Lines Matching refs:BUF_SIZE

27 #define BUF_SIZE (N * STRIDE)
51 LOCAL_ALIGNED_16(INTFLOAT, dst0, [BUF_SIZE]);
52 LOCAL_ALIGNED_16(INTFLOAT, dst1, [BUF_SIZE]);
53 LOCAL_ALIGNED_16(INTFLOAT, src, [BUF_SIZE], [2]);
58 randomize((INTFLOAT *)src, BUF_SIZE * 2);
59 randomize(dst0, BUF_SIZE);
60 memcpy(dst1, dst0, BUF_SIZE * sizeof(INTFLOAT));
61 call_ref(dst0, src, BUF_SIZE);
62 call_new(dst1, src, BUF_SIZE);
63 if (!float_near_abs_eps_array(dst0, dst1, EPS, BUF_SIZE))
65 bench_new(dst1, src, BUF_SIZE);
70 LOCAL_ALIGNED_16(INTFLOAT, dst0, [BUF_SIZE], [2]);
71 LOCAL_ALIGNED_16(INTFLOAT, dst1, [BUF_SIZE], [2]);
72 LOCAL_ALIGNED_16(INTFLOAT, src0, [BUF_SIZE], [2]);
73 LOCAL_ALIGNED_16(INTFLOAT, src1, [BUF_SIZE]);
78 randomize((INTFLOAT *)src0, BUF_SIZE * 2);
79 randomize(src1, BUF_SIZE);
80 call_ref(dst0, src0, src1, BUF_SIZE);
81 call_new(dst1, src0, src1, BUF_SIZE);
82 if (!float_near_abs_eps_array((float *)dst0, (float *)dst1, EPS, BUF_SIZE * 2))
84 bench_new(dst1, src0, src1, BUF_SIZE);
89 LOCAL_ALIGNED_16(INTFLOAT, dst0, [BUF_SIZE], [2]);
90 LOCAL_ALIGNED_16(INTFLOAT, dst1, [BUF_SIZE], [2]);
101 randomize((INTFLOAT *)dst0, BUF_SIZE * 2);
102 memcpy(dst1, dst0, BUF_SIZE * 2 * sizeof(INTFLOAT));
107 if (!float_near_abs_eps_array((float *)dst0, (float *)dst1, EPS, BUF_SIZE * 2))
189 LOCAL_ALIGNED_16(INTFLOAT, l, [BUF_SIZE], [2]);
190 LOCAL_ALIGNED_16(INTFLOAT, r, [BUF_SIZE], [2]);
191 LOCAL_ALIGNED_16(INTFLOAT, l0, [BUF_SIZE], [2]);
192 LOCAL_ALIGNED_16(INTFLOAT, r0, [BUF_SIZE], [2]);
193 LOCAL_ALIGNED_16(INTFLOAT, l1, [BUF_SIZE], [2]);
194 LOCAL_ALIGNED_16(INTFLOAT, r1, [BUF_SIZE], [2]);
201 randomize((INTFLOAT *)l, BUF_SIZE * 2);
202 randomize((INTFLOAT *)r, BUF_SIZE * 2);
206 memcpy(l0, l, BUF_SIZE * 2 * sizeof(INTFLOAT));
207 memcpy(l1, l, BUF_SIZE * 2 * sizeof(INTFLOAT));
208 memcpy(r0, r, BUF_SIZE * 2 * sizeof(INTFLOAT));
209 memcpy(r1, r, BUF_SIZE * 2 * sizeof(INTFLOAT));
214 // divergence when accumulating h_step BUF_SIZE times into
216 // precision. Therefore clear roughly log2(BUF_SIZE) less
221 call_ref(l0, r0, h, h_step, BUF_SIZE);
222 call_new(l1, r1, h, h_step, BUF_SIZE);
223 if (!float_near_abs_eps_array((float *)l0, (float *)l1, EPS, BUF_SIZE * 2) ||
224 !float_near_abs_eps_array((float *)r0, (float *)r1, EPS, BUF_SIZE * 2))
227 memcpy(l1, l, BUF_SIZE * 2 * sizeof(INTFLOAT));
228 memcpy(r1, r, BUF_SIZE * 2 * sizeof(INTFLOAT));
229 bench_new(l1, r1, h, h_step, BUF_SIZE);