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

Git pushed a commit to branch master
in repository ffmpeg.

commit cb1ffc58ca6e18a4577bea246dda6f9ac56ab249
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Fri Mar 27 08:48:42 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Mon Mar 30 13:51:53 2026 +0200

    avcodec/x86/vvc/of: Don't use ymm regs where xmm are sufficient
    
    Also use a register in the 0-7 range as clobber reg,
    as this reduces codesize (by 51B).
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/vvc/of.asm | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/libavcodec/x86/vvc/of.asm b/libavcodec/x86/vvc/of.asm
index 29d3ca0798..92e8b010a2 100644
--- a/libavcodec/x86/vvc/of.asm
+++ b/libavcodec/x86/vvc/of.asm
@@ -140,11 +140,11 @@ INIT_YMM avx2
 %endmacro
 
 %macro SUM_MIN_BLOCK_W8 3-4 ; src/dst, shuffle, tmp, [dst]
-    pshufb  %3, %1, %2
+    pshufb  xm%3, xm%1, xm%2
 %if %0 == 3
-    paddw   %1, %3
+    paddw   xm%1, xm%3
 %else
-    paddw   %4, %1, %3
+    paddw   xm%4, xm%1, xm%3
 %endif
 %endmacro
 
@@ -205,14 +205,14 @@ INIT_YMM avx2
     cmp                         wd, 16
 
     je                       %%w16
-    SUM_MIN_BLOCK_W8            m6, t0, m11
-    SUM_MIN_BLOCK_W8            m7, t0, m11
-    SUM_MIN_BLOCK_W8            m8, t0, m11
-    SUM_MIN_BLOCK_W8            m9, t0, m11
+    SUM_MIN_BLOCK_W8             6, i0, i1
+    SUM_MIN_BLOCK_W8             7, i0, i1
+    SUM_MIN_BLOCK_W8             8, i0, i1
+    SUM_MIN_BLOCK_W8             9, i0, i1
 %if (%3)
-    SUM_MIN_BLOCK_W8           m10, t0, m11, m13
+    SUM_MIN_BLOCK_W8            10, i0, i1, 13
 %else
-    SUM_MIN_BLOCK_W8           m10, t0, m11
+    SUM_MIN_BLOCK_W8            10, i0, i1
 %endif
     jmp                     %%wend
 

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

Reply via email to