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

Git pushed a commit to branch master
in repository ffmpeg.

commit db66e057ebfe0c94a8340b6d3ac83ad173ef52e9
Author:     Andreas Rheinhardt <[email protected]>
AuthorDate: Wed Jan 7 16:27:33 2026 +0100
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Jan 25 22:53:21 2026 +0100

    avcodec/x86/h264_deblock: Avoid reload
    
    Old benchmarks:
    h264_h_loop_filter_luma_8bpp_c:                         60.0 ( 1.00x)
    h264_h_loop_filter_luma_8bpp_sse2:                      65.4 ( 0.92x)
    h264_h_loop_filter_luma_8bpp_avx:                       65.3 ( 0.92x)
    
    New benchmarks:
    h264_h_loop_filter_luma_8bpp_c:                         60.4 ( 1.00x)
    h264_h_loop_filter_luma_8bpp_sse2:                      62.0 ( 0.97x)
    h264_h_loop_filter_luma_8bpp_avx:                       61.7 ( 0.98x)
    
    Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/h264_deblock.asm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavcodec/x86/h264_deblock.asm b/libavcodec/x86/h264_deblock.asm
index b796b59fbd..5ec7d879d2 100644
--- a/libavcodec/x86/h264_deblock.asm
+++ b/libavcodec/x86/h264_deblock.asm
@@ -322,8 +322,7 @@ cglobal deblock_h_luma_8, 5,9,8,0x60+16*WIN64
 
     ; transpose 16x4 (only the middle 4 rows were changed by the filter)
     mova       m0, [pix_tmp+0x10]
-    mova       m1, [pix_tmp+0x20]
-    mova       m2, [pix_tmp+0x30]
+    ; the two middle rows are still in the proper registers
     mova       m3, [pix_tmp+0x40]
 
     punpckhbw  m4, m0, m1
@@ -523,8 +522,7 @@ cglobal deblock_h_luma_8, 0,5,8,0x60+12
 
     ; transpose 16x4 (only the middle 4 rows were changed by the filter)
     mova       m0, [pix_tmp+0x10]
-    mova       m1, [pix_tmp+0x20]
-    mova       m2, [pix_tmp+0x30]
+    ; the two middle rows are still in the proper registers
     mova       m3, [pix_tmp+0x40]
 
     mov        r0, r0mp

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

Reply via email to