[PR] tests/checkasm/h264pred: Remove declare_func_emms (PR #24036)

zuxy via ffmpeg-devel <[email protected]>
Newsgroups gmane.comp.video.ffmpeg.devel
Message-ID <178606820074.59.12873044161235266581@29965ddac10e>
PR #24036 opened by zuxy
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24036
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/24036.patch

This is possible after the last remnants of MMX is gone

Signed-off-by: Zuxy Meng <[email protected]>



>From d496d5ef39fffb48d2a655aca0eea5be23ba0874 Mon Sep 17 00:00:00 2001
From: Zuxy Meng <[email protected]>
Date: Tue, 4 Aug 2026 22:29:44 -0700
Subject: [PATCH] tests/checkasm/h264pred: Remove declare_func_emms

This is possible after the last remnants of MMX is gone

Signed-off-by: Zuxy Meng <[email protected]>
---
 tests/checkasm/h264pred.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/checkasm/h264pred.c b/tests/checkasm/h264pred.c
index 1bf8357ad4..048e53721f 100644
--- a/tests/checkasm/h264pred.c
+++ b/tests/checkasm/h264pred.c
@@ -146,7 +146,7 @@ static void check_pred4x4(H264PredContext *h, uint8_t *buf0, uint8_t *buf1,
     if (chroma_format == 1) {
         uint8_t *topright = buf0 + 2*16;
         int pred_mode;
-        declare_func_emms(AV_CPU_FLAG_MMX | AV_CPU_FLAG_MMXEXT, void, uint8_t *src, const uint8_t *topright, ptrdiff_t stride);
+        declare_func(void, uint8_t *src, const uint8_t *topright, ptrdiff_t stride);
 
         for (pred_mode = 0; pred_mode < 15; pred_mode++) {
             if (check_pred_func(h->pred4x4[pred_mode], "4x4", pred4x4_modes[codec][pred_mode])) {
-- 
2.52.0

_______________________________________________
ffmpeg-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.