History

checkasm: use declare_func_float() in sbrdsp sum_square test

The function returns a float. This fixes the test in x86_32 targets.

James Almer committed 9 years ago

Commit 3d324351 parent bcbe9e41 file · +1 −1Browse files

Showing the changes to tests (1 of 1 file). Show all

Unified · Split

tests/checkasm/sbrdsp.c+1−1
@@ -52,7 +52,7 @@ static void test_sum_square(void) · 51 unmodified lines
52 INTFLOAT res1;52 INTFLOAT res1;
53 LOCAL_ALIGNED_16(INTFLOAT, src, [256], [2]);53 LOCAL_ALIGNED_16(INTFLOAT, src, [256], [2]);
54 54
55 declare_func(INTFLOAT, INTFLOAT (*x)[2], int n);55 declare_func_float(INTFLOAT, INTFLOAT (*x)[2], int n);
56 56
57 randomize((INTFLOAT *)src, 256 * 2);57 randomize((INTFLOAT *)src, 256 * 2);
58 res0 = call_ref(src, 256);58 res0 = call_ref(src, 256);

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