History

checkasm: test with random bw value

With a value of zero, the function is a glorified memory copy.

Rémi Denis-Courmont committed 3 years ago

Commit 42734731 parent 250471e1 file · +2 −2Browse files

Unified · Split

tests/checkasm/sbrdsp.c+2−2
@@ -190,8 +190,8 @@ static void test_hf_gen(void) · 189 unmodified lines
190190 for (i = 2; i < 64; i += 2) {
191191 memset(dst0, 0, 128 * 2 * sizeof(INTFLOAT));
192192 memset(dst1, 0, 128 * 2 * sizeof(INTFLOAT));
193− call_ref(dst0, low, alpha0, alpha1, 0.0, i, 128);
194− call_new(dst1, low, alpha0, alpha1, 0.0, i, 128);
193+ call_ref(dst0, low, alpha0, alpha1, bw, i, 128);
194+ call_new(dst1, low, alpha0, alpha1, bw, i, 128);
195195 if (!float_near_abs_eps_array((INTFLOAT *)dst0, (INTFLOAT *)dst1, EPS, 128 * 2))
196196 fail();
197197 bench_new(dst1, low, alpha0, alpha1, bw, i, 128);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t