diff options
author | James Almer <jamrial@gmail.com> | 2014-05-27 20:57:15 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-29 01:29:34 +0400 |
commit | 561bfc85eb26921b27aacb6360b2fa3ebfa85058 (patch) | |
tree | e9d8c0d9c011fcdbc389189dea80a49b8835b875 /libavutil/x86/x86util.asm | |
parent | d228271813ab2c2a3196dcff813cee93c791dbda (diff) |
x86/dsputilenc: implement SSE2 versions of pix_{sum16, norm1}
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/x86util.asm')
-rw-r--r-- | libavutil/x86/x86util.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 67d7905132..807e87e60e 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -288,7 +288,12 @@ paddd %1, %2 %endif %if notcpuflag(xop) || sizeof%1 != 16 +%if cpuflag(mmxext) PSHUFLW %2, %1, q0032 +%else ; mmx + mova %2, %1 + psrlq %2, 32 +%endif paddd %1, %2 %endif %undef %1 |