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

Git pushed a commit to branch master
in repository ffmpeg.

commit adb1b893f845deed6eaa6fb694635461270beade
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Thu Nov 5 21:07:42 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Nov 8 08:52:57 2026 +0100

    avcodec/x86/h264_idct: Avoid using nonvolatile xmm register
    
    Avoids a pop+push on Win64.
    
    Reviewed-by: Lynne <[email protected]>
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/h264_idct.asm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/libavcodec/x86/h264_idct.asm b/libavcodec/x86/h264_idct.asm
index 4f58552e06..2014129e9f 100644
--- a/libavcodec/x86/h264_idct.asm
+++ b/libavcodec/x86/h264_idct.asm
@@ -85,13 +85,13 @@ SECTION .text
 
     paddw        m0, m6
     IDCT4_1D      w, 0, 1, 2, 3, 4, 5
-    pxor         m7, m7
-    mova    [%2+ 0], m7
-    mova    [%2+16], m7
+    pxor         m6, m6
+    mova    [%2+ 0], m6
+    mova    [%2+16], m6
 
-    STORE_DIFFx2 m0, m1, m4, m5, m7, 6, %1, %3, movd
+    STORE_DIFFx2 m0, m1, m4, m5, m6, 6, %1, %3, movd
     lea          %1, [%1+%3*2]
-    STORE_DIFFx2 m2, m3, m4, m5, m7, 6, %1, %3, movd
+    STORE_DIFFx2 m2, m3, m4, m5, m6, 6, %1, %3, movd
 %endmacro
 
 %macro IDCT8_1D 2
@@ -332,7 +332,7 @@ cglobal h264_idct8_add4_8, 5, 8 + npicregs, 10, dst1, 
block_offset, block, strid
     RET
 
 INIT_XMM sse2
-cglobal h264_idct_add8_422_8, 5, 8 + npicregs, 8, dst1, block_offset, block, 
stride, nnzc, cntr, coeff, dst2, picreg
+cglobal h264_idct_add8_422_8, 5, 8 + npicregs, 7, dst1, block_offset, block, 
stride, nnzc, cntr, coeff, dst2, picreg
 ; dst1, block_offset, block, stride, nnzc, cntr, coeff, dst2, picreg
 %if PIC
     lea     picregq, [scan8_mem]
@@ -695,7 +695,7 @@ cglobal h264_luma_dc_dequant_idct, 3, 4, 6
 
 INIT_XMM %1
 
-cglobal h264_idct_add_8, 3, 3, 8, dst_, block_, stride_
+cglobal h264_idct_add_8, 3, 3, 7, dst_, block_, stride_
     IDCT4_ADD    dst_q, block_q, stride_q
 RET
 

-- 
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