summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-07-04 23:02:48 -0300
committerJames Almer <jamrial@gmail.com>2017-07-04 23:02:57 -0300
commit3d3243577cfdca6dec39a8c4e75feefd2a170f90 (patch)
tree04af1d19d7f62c27c4ae60386a7a6bfd4ed72125 /tests
parentbcbe9e444790c6ac299aa01958dcb7e9ac70fc82 (diff)
downloadffmpeg-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')
-rw-r--r--tests/checkasm/sbrdsp.c2
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);
OpenPOWER on IntegriCloud