This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit f177672df2772e2325f7b6f842967ee0bb945220 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Feb 22 13:45:18 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Fri Mar 6 20:02:41 2026 +0100 avcodec/x86/vvc/of: Avoid unnecessary additions BDOF_PROF_GRAD just adds some values to m12,m13, so one can avoid two pxor, paddw by deferring saving these registers prematurely. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/x86/vvc/of.asm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/libavcodec/x86/vvc/of.asm b/libavcodec/x86/vvc/of.asm index 232dc1c2fd..4a28550690 100644 --- a/libavcodec/x86/vvc/of.asm +++ b/libavcodec/x86/vvc/of.asm @@ -327,15 +327,11 @@ INIT_YMM avx2 BDOF_PROF_GRAD 0, 0 %endif - mova m14, m12 - mova m15, m13 - - pxor m12, m12 - pxor m13, m13 BDOF_PROF_GRAD %1 * 4 + 1, 0 BDOF_PROF_GRAD %1 * 4 + 2, 0 - paddw m14, m12 - paddw m15, m13 + + mova m14, m12 + mova m15, m13 pxor m12, m12 pxor m13, m13 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
