aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKieran Kunhya <kierank@ob-encoder.com>2013-10-20 10:28:38 -0500
committerMichael Niedermayer <michaelni@gmx.at>2013-10-26 02:34:22 +0200
commit865b70bc5d1cf37ec6d6cb729a69dda2cca28bd5 (patch)
treec8b62155b3715ac4b6bf82ea250d6d442ccaf5e8 /configure
parent780669ef7c23c00836a24921fcc6b03be2b8ca4a (diff)
downloadffmpeg-865b70bc5d1cf37ec6d6cb729a69dda2cca28bd5.tar.gz
Add AVX2 capable CPU detection. Patch based on x264's AVX2 detection
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index e382a866dc..dce43e857c 100755
--- a/configure
+++ b/configure
@@ -315,6 +315,7 @@ Optimization options (experts only):
--disable-sse42 disable SSE4.2 optimizations
--disable-avx disable AVX optimizations
--disable-fma4 disable FMA4 optimizations
+ --disable-avx2 disable AVX2 optimizations
--disable-armv5te disable armv5te optimizations
--disable-armv6 disable armv6 optimizations
--disable-armv6t2 disable armv6t2 optimizations
@@ -1344,6 +1345,7 @@ ARCH_EXT_LIST_X86='
amd3dnow
amd3dnowext
avx
+ avx2
fma4
i686
mmx
@@ -1705,6 +1707,7 @@ sse4_deps="ssse3"
sse42_deps="sse4"
avx_deps="sse42"
fma4_deps="avx"
+avx2_deps="avx"
mmx_external_deps="yasm"
mmx_inline_deps="inline_asm"