diff options
author | James Almer <jamrial@gmail.com> | 2014-05-27 04:27:37 -0300 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-27 15:12:50 +0200 |
commit | 58632070866a529913355df1d9c7cc71fa91ffde (patch) | |
tree | e8a166f714e3b4ff313a227fb87f72cb98929ec5 | |
parent | e64e079ece7d037686c4c0f97eac9c62af6300b1 (diff) | |
download | ffmpeg-58632070866a529913355df1d9c7cc71fa91ffde.tar.gz |
x86/dsputilenc: use HADDD in ff_sse16_sse2
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/x86/dsputilenc.asm | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libavcodec/x86/dsputilenc.asm b/libavcodec/x86/dsputilenc.asm index ba8a1773c2..6269532a0e 100644 --- a/libavcodec/x86/dsputilenc.asm +++ b/libavcodec/x86/dsputilenc.asm @@ -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 |