[FFmpeg-cvslog] avcodec/x86/hevc_deblock: use test instead of cmp 0

Anton Khirnov git at videolan.org
Tue Jul 22 16:26:29 CEST 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Sat Jul 19 14:18:03 2014 +0200| [e8581b17a8d2fe892fa334a6072e8664315e3dcd] | committer: Michael Niedermayer

avcodec/x86/hevc_deblock: use test instead of cmp 0

cherry picked from commit f7843356253459e6010320292dbbc1e888a5249b
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e8581b17a8d2fe892fa334a6072e8664315e3dcd
---

 libavcodec/x86/hevc_deblock.asm |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/hevc_deblock.asm b/libavcodec/x86/hevc_deblock.asm
index 3c69b5d..65ec796 100644
--- a/libavcodec/x86/hevc_deblock.asm
+++ b/libavcodec/x86/hevc_deblock.asm
@@ -381,7 +381,7 @@ ALIGN 16
     ;compare
     pcmpgtw         m15, m13, m14; beta0, beta1
     movmskps        r13, m15 ;filtering mask 0d0 + 0d3 < beta0 (bit 2 or 3) , 1d0 + 1d3 < beta1 (bit 0 or 1)
-    cmp             r13, 0
+    test            r13, r13
     je              .bypassluma
 
     ;weak / strong decision compare to beta_2



More information about the ffmpeg-cvslog mailing list