aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-09-28 19:36:53 +0200
committerDiego Biurrun <diego@biurrun.de>2012-11-11 20:43:28 +0100
commitb8e8a07c6c4df93de92480f5c3a14296a6a2a690 (patch)
tree2bd44246e1f84df4aa72ba6cc74dfe1e3e91018f
parent97bf7c03b1338a867da52c159a2afecbdedcfa88 (diff)
downloadffmpeg-b8e8a07c6c4df93de92480f5c3a14296a6a2a690.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. CC: libav-stable@libav.org
-rwxr-xr-xconfigure3
1 files changed, 1 insertions, 2 deletions
diff --git a/configure b/configure
index d67fc85396..a66a7ffce3 100755
--- a/configure
+++ b/configure
@@ -3152,9 +3152,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_external
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
check_yasm "CPU amdnop" && enable cpunop
fi