Commit 500a0394 authored by Anton Khirnov's avatar Anton Khirnov Committed by Michael Niedermayer

avcodec/x86/hevc_deblock: add %ifs to avoid "do nothing instructions"

cherry picked from commit f7843356253459e6010320292dbbc1e888a5249b
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7a4cf671
......@@ -353,12 +353,16 @@ ALIGN 16
;beta calculations
mov r11, [betaq];
%if %1 > 8
shl r11, %1 - 8
%endif
movd m13, r11d; beta0
add betaq, 4;
punpcklwd m13, m13
mov r12, [betaq];
%if %1 > 8
shl r12, %1 - 8
%endif
movd m14, r12d; beta1
punpcklwd m14, m14
pshufd m13, m14, 0; beta0, beta1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment