diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-06 23:22:42 +0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-07 04:14:13 +0400 |
commit | f2bd8a0786ded12c70d6877f16944b44ea731462 (patch) | |
tree | 5b17b6ca0ce9bcc5c019afb2c42af961f30c692b /libavutil | |
parent | eacec07e9c2a57ea8df0c9c0ca20f994aedf361c (diff) |
x86inc: use sse versions of common macros instead of sse2 when applicable
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/x86/x86inc.asm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index fc0b312adf..31f74b9b3e 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -562,6 +562,11 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits %if cpuflag(avx) %assign avx_enabled 1 %endif + %if mmsize == 16 && notcpuflag(sse2) + %define mova movaps + %define movu movups + %define movnta movntps + %endif %if cpuflag(aligned) %define movu mova %elifidn %1, sse3 |