diff options
author | James Almer <jamrial@gmail.com> | 2017-07-04 23:02:48 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2017-07-04 23:02:57 -0300 |
commit | 3d3243577cfdca6dec39a8c4e75feefd2a170f90 (patch) | |
tree | 04af1d19d7f62c27c4ae60386a7a6bfd4ed72125 /tests/checkasm/sbrdsp.c | |
parent | bcbe9e444790c6ac299aa01958dcb7e9ac70fc82 (diff) | |
download | ffmpeg-streaming-3d3243577cfdca6dec39a8c4e75feefd2a170f90.zip ffmpeg-streaming-3d3243577cfdca6dec39a8c4e75feefd2a170f90.tar.gz |
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>
Diffstat (limited to 'tests/checkasm/sbrdsp.c')
-rw-r--r-- | tests/checkasm/sbrdsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/checkasm/sbrdsp.c b/tests/checkasm/sbrdsp.c index 038318e..558f452 100644 --- a/tests/checkasm/sbrdsp.c +++ b/tests/checkasm/sbrdsp.c @@ -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); |