1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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:
James Almer 2014-05-27 04:27:37 -03:00 committed by Michael Niedermayer
parent e64e079ece
commit 5863207086

View File

@ -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