diff mbox series

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

Message ID GV1P250MB073775FBE061C5ECDEB2F3F38F5E9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 18afaa20f15a6624b47047c0002b01c57da2fd7e
Headers show
Series [FFmpeg-devel,1/9] checkasm/vc1dsp: Use declare_func_emms only when needed | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Oct. 8, 2022, 1:24 a.m. UTC
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@outlook.com>
---
 tests/checkasm/blockdsp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

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);                                             \