Browse Source

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: James Almer <jamrial@gmail.com>
tags/n3.4
James Almer 8 years ago
parent
commit
3d3243577c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tests/checkasm/sbrdsp.c

+ 1
- 1
tests/checkasm/sbrdsp.c View File

@@ -52,7 +52,7 @@ static void test_sum_square(void)
INTFLOAT res1;
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);
res0 = call_ref(src, 256);


Loading…
Cancel
Save