[FFmpeg-cvslog] checkasm: use declare_func_float() in sbrdsp sum_square test
James Almer
git at videolan.org
Wed Jul 5 05:03:41 EEST 2017
ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Jul 4 23:02:48 2017 -0300| [3d3243577cfdca6dec39a8c4e75feefd2a170f90] | committer: 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: James Almer <jamrial at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3d3243577cfdca6dec39a8c4e75feefd2a170f90
---
tests/checkasm/sbrdsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/checkasm/sbrdsp.c b/tests/checkasm/sbrdsp.c
index 038318e021..558f452c9b 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);
More information about the ffmpeg-cvslog
mailing list