[FFmpeg-cvslog] x86inc: use sse versions of common macros instead of sse2 when applicable
Justin Ruggles
git at videolan.org
Mon Nov 7 03:17:58 CET 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sun Nov 6 14:22:42 2011 -0500| [f2bd8a0786ded12c70d6877f16944b44ea731462] | committer: Justin Ruggles
x86inc: use sse versions of common macros instead of sse2 when applicable
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f2bd8a0786ded12c70d6877f16944b44ea731462
---
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 fc0b312..31f74b9 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
More information about the ffmpeg-cvslog
mailing list