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

Git pushed a commit to branch master
in repository ffmpeg.

commit 0d342f01f03530e37e23372467c8d3b9623a19d0
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Tue Jul 28 18:12:10 2026 +0200
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Aug 2 02:00:49 2026 +0200

    avcodec/x86/huffyuvdsp_template: Don't push+pop reg unnecessarily
    
    All calling conventions on x64 have enough volatile GPRs.
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/huffyuvdsp_template.asm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libavcodec/x86/huffyuvdsp_template.asm 
b/libavcodec/x86/huffyuvdsp_template.asm
index 89721f4ec3..2fd94d3071 100644
--- a/libavcodec/x86/huffyuvdsp_template.asm
+++ b/libavcodec/x86/huffyuvdsp_template.asm
@@ -26,7 +26,9 @@
     add     wd, wd
     test    wq, 2*mmsize - 1
     jz %%.tomainloop
+%if ARCH_X86_32
     push  tmpq
+%endif
 %%.wordloop:
     sub     wq, 2
 %ifidn %2, add
@@ -40,7 +42,9 @@
     mov     [dstq+wq], tmpw
     test    wq, 2*mmsize - 1
     jnz %%.wordloop
+%if ARCH_X86_32
     pop   tmpq
+%endif
 %%.tomainloop:
 %ifidn %2, add
     add     srcq, wq

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

Reply via email to