Commit 3d324357 authored by James Almer's avatar James Almer

checkasm: use declare_func_float() in sbrdsp sum_square test

The function returns a float.

This fixes the test in x86_32 targets.
Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
parent bcbe9e44
...@@ -52,7 +52,7 @@ static void test_sum_square(void) ...@@ -52,7 +52,7 @@ static void test_sum_square(void)
INTFLOAT res1; INTFLOAT res1;
LOCAL_ALIGNED_16(INTFLOAT, src, [256], [2]); LOCAL_ALIGNED_16(INTFLOAT, src, [256], [2]);
declare_func(INTFLOAT, INTFLOAT (*x)[2], int n); declare_func_float(INTFLOAT, INTFLOAT (*x)[2], int n);
randomize((INTFLOAT *)src, 256 * 2); randomize((INTFLOAT *)src, 256 * 2);
res0 = call_ref(src, 256); res0 = call_ref(src, 256);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment