Commit c74b08c5 authored by James Almer's avatar James Almer Committed by Michael Niedermayer

x86/hevc_deblock: remove some unnecessary instructions

Signed-off-by: 's avatarJames Almer <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 65746bfb
......@@ -319,11 +319,9 @@ ALIGN 16
paddw m5, m4;
;tc calculations
movd m6, [tcq]; tc0
movq m6, [tcq]; tc0
punpcklwd m6, m6
movd m4, [tcq+4]; tc1
punpcklwd m4, m4
shufps m6, m4, 0; tc0, tc1
pshufd m6, m6, 0xA0; tc0, tc1
%if cpuflag(ssse3)
psignw m4, m6, [pw_m1]; -tc0, -tc1
%else
......@@ -426,14 +424,13 @@ ALIGN 16
shl r11, %1 - 8
%endif
movd m8, r11d; tc0
add tcq, 4;
mov r3d, [tcq];
mov r3d, [tcq+4];
%if %1 > 8
shl r3, %1 - 8
%endif
movd m9, r3d; tc1
add r11d, r3d; tc0 + tc1
jz .bypassluma
movd m9, r3d; tc1
punpcklwd m8, m8
punpcklwd m9, m9
shufps m8, m9, 0; tc0, tc1
......
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