[FFmpeg-devel] [PATCH 2/9] checkasm/blockdsp: Be strict about MMX

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sat Oct 8 04:24:05 EEST 2022


There is no MMX code for blockdsp after commit
ee551a21ddcbf81afe183d9489c534ee80f263a0, so use declare_func
instead of declare_func_emms() to also test that we are not
in MMX mode after return.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 tests/checkasm/blockdsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/blockdsp.c b/tests/checkasm/blockdsp.c
index 99d79209e4..22a2f79455 100644
--- a/tests/checkasm/blockdsp.c
+++ b/tests/checkasm/blockdsp.c
@@ -42,7 +42,7 @@
 #define check_clear(func, size)                                     \
 do {                                                                \
     if (check_func(h.func, "blockdsp." #func)) {                    \
-        declare_func_emms(AV_CPU_FLAG_MMX, void, int16_t *block);   \
+        declare_func(void, int16_t *block);                         \
         randomize_buffers(size);                                    \
         call_ref(buf0);                                             \
         call_new(buf1);                                             \
-- 
2.34.1



More information about the ffmpeg-devel mailing list