diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-11-11 22:41:46 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-11-11 23:03:57 +0100 |
commit | 7b91e52eb9fd6012a0804febc7821b9484e6faa6 (patch) | |
tree | 98641aa0225d89dcf15aa6b7e9bfefa321b04cdb | |
parent | d6e250abfc36b239ef0c1fc9d45d588b853bfcb9 (diff) | |
download | ffmpeg-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-x | configure | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |