PR #23792 opened by mkver
URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23792
Patch URL: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/23792.patch


>From 97bf7996e7fe7cb6fbc8c57e61b5c38f1206f87d Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <[email protected]>
Date: Mon, 13 Jul 2026 00:44:07 +0200
Subject: [PATCH] avcodec/x86/vp9lpf: Avoid load

Signed-off-by: Andreas Rheinhardt <[email protected]>
---
 libavcodec/x86/vp9lpf.asm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/libavcodec/x86/vp9lpf.asm b/libavcodec/x86/vp9lpf.asm
index 13a3530b19..22f81ccffe 100644
--- a/libavcodec/x86/vp9lpf.asm
+++ b/libavcodec/x86/vp9lpf.asm
@@ -44,8 +44,6 @@ cextern pw_8
 mask_mix: times 8 db 0
           times 8 db 1
 
-mask_mix84: times 8 db 0xff
-            times 8 db 0x00
 mask_mix48: times 8 db 0x00
             times 8 db 0xff
 
@@ -720,8 +718,10 @@ cglobal vp9_loop_filter_%1_%2_ %+ mmsize, 2, 6, 16, %3 + 
%4 + %%ext, dst, stride
     pcmpgtb             m6, m2                          ; flat8in
     SWAP 2,6
 %endif
-%if %2 == 84 || %2 == 48
-    pand                m2, [mask_mix%2]
+%if %2 == 84
+    movq                m2, m2
+%elif %2 == 48
+    pand                m2, [mask_mix48]
 %endif
 %else
 %if %2 == 44
-- 
2.52.0

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

Reply via email to