diff mbox series

[FFmpeg-devel,7/9] checkasm/llviddspenc: Use declare_func_emms only when needed

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


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 diff_bytes since commit
230ea38de143368729ee1cce47b3a87fbafad8e4, 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/llviddspenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series


diff --git a/tests/checkasm/llviddspenc.c b/tests/checkasm/llviddspenc.c
index 4ec46c96bd..e12003aeeb 100644
--- a/tests/checkasm/llviddspenc.c
+++ b/tests/checkasm/llviddspenc.c
@@ -52,8 +52,8 @@  static void check_diff_bytes(LLVidEncDSPContext *c)
     LOCAL_ALIGNED_32(uint8_t, src2, [MAX_STRIDE]);
     LOCAL_ALIGNED_32(uint8_t, src3, [MAX_STRIDE]);
-    declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t *dst, const uint8_t *src1,
-                      const uint8_t *src2, intptr_t w);
+    declare_func(void, uint8_t *dst, const uint8_t *src1,
+                 const uint8_t *src2, intptr_t w);
     memset(dst0, 0, MAX_STRIDE);
     memset(dst1, 0, MAX_STRIDE);