From 14c30b9d1929a5decbc18ca434c20eb17c05f67f Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 2 Apr 2026 12:19:43 +0200 Subject: [PATCH] tests/checkasm/png: Don't use declare_func_emms for add_paeth_pred There is an x86 implementation using MMX registers, but it actually issues emms on its own (since 57a29f2e7dd2374a1df27316c6cf7c0225e86758). Signed-off-by: Andreas Rheinhardt --- tests/checkasm/png.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checkasm/png.c b/tests/checkasm/png.c index 0fe049cf9c..98888b99db 100644 --- a/tests/checkasm/png.c +++ b/tests/checkasm/png.c @@ -69,8 +69,8 @@ static void check_add_paeth_prediction(const PNGDSPContext *c) randomize_buf(src, BUF_SIZE); randomize_buf(top_buf, BUF_SIZE); - declare_func_emms(AV_CPU_FLAG_MMX, void, uint8_t * dst, const uint8_t *src, - const uint8_t *top, int w, int bpp); + declare_func(void, uint8_t * dst, const uint8_t *src, + const uint8_t *top, int w, int bpp); const int bpps[] = {3, 4, 6, 8}; for (int i = 0; i < FF_ARRAY_ELEMS(bpps); i++) {