Commit 16eba81f authored by James Zern's avatar James Zern
Browse files

Revert "Speed up h_predictor_4x4"

This reverts commit d76032ae.

breaks 32-bit builds

Change-Id: If6266ec2a405b5a21d615112f0f37e8a71193858
parent 073dc71c
...@@ -33,20 +33,23 @@ sh_b2333: db 2, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ...@@ -33,20 +33,23 @@ sh_b2333: db 2, 3, 3, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
SECTION .text SECTION .text
INIT_XMM ssse3 INIT_MMX ssse3
cglobal h_predictor_4x4, 2, 4, 3, dst, stride, line, left cglobal h_predictor_4x4, 2, 4, 3, dst, stride, line, left
movd m0, [leftq] movifnidn leftq, leftmp
punpcklbw m0, m0 add leftq, 4
punpcklbw m0, m0 mov lineq, -2
movd [dstq ], m0 pxor m0, m0
psrldq m0, 4 .loop:
movd [dstq+strideq], m0 movd m1, [leftq+lineq*2 ]
movd m2, [leftq+lineq*2+1]
pshufb m1, m0
pshufb m2, m0
movd [dstq ], m1
movd [dstq+strideq], m2
lea dstq, [dstq+strideq*2] lea dstq, [dstq+strideq*2]
psrldq m0, 4 inc lineq
movd [dstq ], m0 jnz .loop
psrldq m0, 4 REP_RET
movd [dstq+strideq], m0
RET
INIT_MMX ssse3 INIT_MMX ssse3
cglobal h_predictor_8x8, 2, 4, 3, dst, stride, line, left cglobal h_predictor_8x8, 2, 4, 3, dst, stride, line, left
......
Supports Markdown
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