aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2014-02-06 01:33:59 -0300
committerMichael Niedermayer <michaelni@gmx.at>2014-02-11 03:46:52 +0100
commit6c12b1de064d2604d19cb4c238a788cfed9679ac (patch)
tree969df01c257dca3da2738f147ab9a66335a017e6 /configure
parent8e41240047db2571a4752fb23c3e6907b16d1e88 (diff)
downloadffmpeg-6c12b1de064d2604d19cb4c238a788cfed9679ac.tar.gz
x86: add missing XOP checks and macros
Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 6f572f6acf..106852e691 100755
--- a/configure
+++ b/configure
@@ -321,6 +321,7 @@ Optimization options (experts only):
--disable-sse4 disable SSE4 optimizations
--disable-sse42 disable SSE4.2 optimizations
--disable-avx disable AVX optimizations
+ --disable-xop disable XOP optimizations
--disable-fma4 disable FMA4 optimizations
--disable-avx2 disable AVX2 optimizations
--disable-armv5te disable armv5te optimizations
@@ -1451,6 +1452,7 @@ ARCH_EXT_LIST_X86='
amd3dnowext
avx
avx2
+ xop
fma4
i686
mmx
@@ -1823,6 +1825,7 @@ ssse3_deps="sse3"
sse4_deps="ssse3"
sse42_deps="sse4"
avx_deps="sse42"
+xop_deps="avx"
fma4_deps="avx"
avx2_deps="avx"
@@ -4233,6 +4236,7 @@ EOF
check_yasm "movbe ecx, [5]" && enable yasm ||
die "yasm/nasm not found or too old. Use --disable-yasm for a crippled build."
check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx_external avresample
+ check_yasm "vpmacsdd xmm0, xmm1, xmm2, xmm3" || disable xop_external
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
check_yasm "CPU amdnop" && enable cpunop
fi
@@ -4913,6 +4917,7 @@ if enabled x86; then
echo "SSE enabled ${sse-no}"
echo "SSSE3 enabled ${ssse3-no}"
echo "AVX enabled ${avx-no}"
+ echo "XOP enabled ${xop-no}"
echo "FMA4 enabled ${fma4-no}"
echo "i686 features enabled ${i686-no}"
echo "CMOV is fast ${fast_cmov-no}"