summaryrefslogtreecommitdiff
path: root/libavcodec/x86/hevc_deblock.asm
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2014-07-19 14:18:03 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-07-22 16:16:05 +0200
commite8581b17a8d2fe892fa334a6072e8664315e3dcd (patch)
treeb2f31df6d00a22c7539ed71a6a0218016dab25ad /libavcodec/x86/hevc_deblock.asm
parentdc69247de421503efd289dceb737cfb2a3cf7d6d (diff)
avcodec/x86/hevc_deblock: use test instead of cmp 0
cherry picked from commit f7843356253459e6010320292dbbc1e888a5249b Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/x86/hevc_deblock.asm')
-rw-r--r--libavcodec/x86/hevc_deblock.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/x86/hevc_deblock.asm b/libavcodec/x86/hevc_deblock.asm
index 3c69b5d92e..65ec796102 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