Commit 87829c98 authored by Fiona Glaser's avatar Fiona Glaser

Trim a few bytes off some x86 intra pred functions

parent e4b44c2e
......@@ -443,6 +443,7 @@ cglobal predict_8x8_v_mmxext, 2,2
INIT_MMX
cglobal predict_8x8_h_mmxext, 2,2
movu m3, [r1+7]
add r0, FDEC_STRIDE*4
mova m7, m3
punpckhbw m3, m3
punpcklbw m7, m7
......@@ -456,7 +457,7 @@ cglobal predict_8x8_h_mmxext, 2,2
pshufw m7, m7, 0x00
%assign n 0
%rep 8
mova [r0+n*FDEC_STRIDE], m %+ n
mova [r0+(n-4)*FDEC_STRIDE], m %+ n
%assign n n+1
%endrep
RET
......@@ -988,7 +989,8 @@ cglobal predict_8x8c_h_%1, 1,1
%ifidn %1, ssse3
mova m1, [pb_3]
%endif
%assign n 0
add r0, FDEC_STRIDE*4
%assign n -4
%rep 8
SPLATB m0, r0+FDEC_STRIDE*n-1, m1
mova [r0+FDEC_STRIDE*n], m0
......
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