This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit e7e19fcb1bd7c07af90d50c556e560c6a087cf45 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Sun Feb 22 17:08:44 2026 +0100 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Fri Mar 6 20:02:41 2026 +0100 avcodec/x86/vvc/of: Avoid unnecessary jumps For 8bpp width 8 content, an unnecessary jump was performed for every write: First to the end of the SAVE_8BPC macro, then to the end of the SAVE macro. This commit changes this. Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/x86/vvc/of.asm | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/libavcodec/x86/vvc/of.asm b/libavcodec/x86/vvc/of.asm index b77e1fdf68..180309ef63 100644 --- a/libavcodec/x86/vvc/of.asm +++ b/libavcodec/x86/vvc/of.asm @@ -72,17 +72,17 @@ INIT_YMM avx2 CLIPW %1, m9, m10 %endmacro -%macro SAVE_8BPC 2 ; dst, src +%macro SAVE_8BPC 3 ; dst, src, jmp dst packuswb m%2, m%2 vpermq m%2, m%2, q0020 cmp wd, 16 je %%w16 movq %1, xm%2 - jmp %%wend + jmp %3 %%w16: movu %1, xm%2 -%%wend: + jmp %3 %endmacro %macro SAVE_16BPC 2 ; dst, src @@ -98,8 +98,7 @@ INIT_YMM avx2 %macro SAVE 2 ; dst, src cmp pixel_maxd, (1 << 8) - 1 jne %%save_16bpc - SAVE_8BPC %1, %2 - jmp %%end + SAVE_8BPC %1, %2, %%end %%save_16bpc: SAVE_16BPC %1, %2 %%end: _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
