aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-11-11 22:41:46 +0100
committerDiego Biurrun <diego@biurrun.de>2012-11-11 23:03:57 +0100
commit7b91e52eb9fd6012a0804febc7821b9484e6faa6 (patch)
tree98641aa0225d89dcf15aa6b7e9bfefa321b04cdb
parentd6e250abfc36b239ef0c1fc9d45d588b853bfcb9 (diff)
downloadffmpeg-7b91e52eb9fd6012a0804febc7821b9484e6faa6.tar.gz
x86: Require an assembler able to cope with AVX instructions
All modern assemblers have this capability. Older NASM versions that lack the capability produce code that crashes at runtime, so it's better to error out during the build process instead. (cherry picked from commit e287201c77dc7a7a9759d56d8f48ae719b7e69a9) Signed-off-by: Diego Biurrun <diego@biurrun.de>
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index f4c327439a..6a2ff4fa01 100755
--- a/configure
+++ b/configure
@@ -2739,9 +2739,8 @@ EOF
elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
esac
- check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
+ check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
die "yasm not found, use --disable-yasm for a crippled build"
- check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx
fi
case "$cpu" in