This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit a121614fc435a5d480cf0b6f18eaa4cb72a4f539
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Nov 5 20:34:44 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Nov 8 08:52:56 2026 +0100

    avcodec/x86/h264_idct: Remove some remnants of MMX
    
    Reviewed-by: Lynne <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/h264_idct.asm | 29 ++++++++++-------------------
 1 file changed, 10 insertions(+), 19 deletions(-)

diff --git a/libavcodec/x86/h264_idct.asm b/libavcodec/x86/h264_idct.asm
index 1f01b200d7..1473767a61 100644
--- a/libavcodec/x86/h264_idct.asm
+++ b/libavcodec/x86/h264_idct.asm
@@ -1,5 +1,5 @@
 ;*****************************************************************************
-;* MMX/SSE2-optimized H.264 iDCT
+;* ASM-optimized H.264 iDCT
 ;*****************************************************************************
 ;* Copyright (C) 2004-2005 Michael Niedermayer, Loren Merritt
 ;* Copyright (C) 2003-2008 x264 project
@@ -76,27 +76,18 @@ SECTION .text
 
     IDCT4_1D      w, 0, 1, 2, 3, 4, 5
     mova         m6, [pw_32]
-    %if mmsize == 8
-        TRANSPOSE4x4W 0, 1, 2, 3, 4
-    %else
-        punpcklwd m0, m1
-        punpcklwd m2, m3
-        SBUTTERFLY dq, 0, 2, 4
-        MOVHL m1, m0
-        MOVHL m3, m2
-    %endif
+
+    punpcklwd    m0, m1
+    punpcklwd    m2, m3
+    SBUTTERFLY   dq, 0, 2, 4
+    MOVHL        m1, m0
+    MOVHL        m3, m2
+
     paddw        m0, m6
     IDCT4_1D      w, 0, 1, 2, 3, 4, 5
     pxor         m7, m7
-    %if mmsize == 16
-        mova    [%2+ 0], m7
-        mova    [%2+16], m7
-    %else
-        movq    [%2+ 0], m7
-        movq    [%2+ 8], m7
-        movq    [%2+16], m7
-        movq    [%2+24], m7
-    %endif
+    mova    [%2+ 0], m7
+    mova    [%2+16], m7
 
     STORE_DIFFx2 m0, m1, m4, m5, m7, 6, %1, %3, movd
     lea          %1, [%1+%3*2]

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to