summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-05-16 14:23:59 +0200
committerDiego Biurrun <diego@biurrun.de>2011-05-19 16:27:40 +0200
commit429059f866259b447233c3fa23fffddce3e39508 (patch)
tree4cd6744df9fbc77ddb8471f8085a4fb5993687e3 /configure
parentc2a16e44f8ed130c2b492f1f3ce09f7f55a7d4a4 (diff)
configure: Adjust AVX assembler check.
Older nasm versions have trouble assembling certain AVX instructions, but the current AVX check did not detect this. Update the check to use an instruction that triggers the nasm problem.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6becb09724..96867a550e 100755
--- a/configure
+++ b/configure
@@ -2729,7 +2729,7 @@ EOF
check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
die "yasm not found, use --disable-yasm for a crippled build"
- check_yasm "vpaddw xmm0, xmm0, xmm0" || disable avx
+ check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx
fi
case "$cpu" in