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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new c1aed85491 avcodec/x86/h264_idct: Avoid spilling register unnecessarily
c1aed85491 is described below

commit c1aed854915bc5d1125e5616da3f798013aff6e5
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Fri Mar 27 22:10:03 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Tue Mar 31 17:31:58 2026 +0200

    avcodec/x86/h264_idct: Avoid spilling register unnecessarily
    
    It is only needed in the unlikely codepath. The ordinary one
    only uses six xmm registers.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/h264_idct.asm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/x86/h264_idct.asm b/libavcodec/x86/h264_idct.asm
index 6ae8202748..0ced412a3e 100644
--- a/libavcodec/x86/h264_idct.asm
+++ b/libavcodec/x86/h264_idct.asm
@@ -647,7 +647,7 @@ RET
 %endmacro
 
 INIT_XMM sse2
-cglobal h264_luma_dc_dequant_idct, 3, 4, 7
+cglobal h264_luma_dc_dequant_idct, 3, 4, 6
     movq        m3, [r1+24]
     movq        m2, [r1+16]
     movq        m1, [r1+ 8]
@@ -683,6 +683,7 @@ cglobal h264_luma_dc_dequant_idct, 3, 4, 7
     RET
 .big_qmul:
     bsr        t0d, t3d
+    WIN64_PUSH_XMM 7
     add        t3d, 128 << 16
     mov        t1d, 7
     cmp        t0d, t1d

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to