From f2bd8a0786ded12c70d6877f16944b44ea731462 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Sun, 6 Nov 2011 14:22:42 -0500 Subject: [PATCH] x86inc: use sse versions of common macros instead of sse2 when applicable --- libavutil/x86/x86inc.asm | 5 +++++ 1 file changed, 5 insertions(+) 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