]> git.sesse.net Git - ffmpeg/blobdiff - libavutil/x86/x86inc.asm
x86: PMINUB: port to cpuflags
[ffmpeg] / libavutil / x86 / x86inc.asm
index d734c6e4aeaf199ca8a521fc3b1c76b345597e73..b0df2b20f074f732bfe5fa5ce0070fee716dc2b2 100644 (file)
@@ -34,7 +34,9 @@
 ; as this feature might be useful for others as well.  Send patches or ideas
 ; to x264-devel@videolan.org .
 
-%define program_name ff
+%ifndef program_name
+    %define program_name ff
+%endif
 
 %define WIN64  0
 %define UNIX64 0
@@ -678,14 +680,6 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits
     INIT_CPUFLAGS %1
 %endmacro
 
-; FIXME: INIT_AVX can be replaced by INIT_XMM avx
-%macro INIT_AVX 0
-    INIT_XMM
-    %assign avx_enabled 1
-    %define PALIGNR PALIGNR_SSSE3
-    %define RESET_MM_PERMUTATION INIT_AVX
-%endmacro
-
 %macro INIT_YMM 0-1+
     %assign avx_enabled 1
     %define RESET_MM_PERMUTATION INIT_YMM %1