mirror of https://git.ffmpeg.org/ffmpeg.git
x86/dsputilenc: use HADDD in ff_sse16_sse2
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
e64e079ece
commit
5863207086
|
@ -326,12 +326,7 @@ cglobal sse16, 5, 5, 8
|
|||
dec r4
|
||||
jnz .next2lines
|
||||
|
||||
mova m1, m7
|
||||
psrldq m7, 8 ; shift hi qword to lo
|
||||
paddd m7, m1
|
||||
mova m1, m7
|
||||
psrldq m7, 4 ; shift hi dword to lo
|
||||
paddd m7, m1
|
||||
HADDD m7, m1
|
||||
movd eax, m7 ; return value
|
||||
RET
|
||||
|
||||
|
|
Loading…
Reference in New Issue