From 429059f866259b447233c3fa23fffddce3e39508 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 16 May 2011 14:23:59 +0200 Subject: [PATCH] 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. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 6becb09..96867a5 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 -- 2.7.4