Revert "x86: Require an assembler able to cope with AVX instructions"
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 17 Jan 2013 00:51:28 +0000 (01:51 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Thu, 17 Jan 2013 00:51:28 +0000 (01:51 +0100)
This reverts commit e287201c77dc7a7a9759d56d8f48ae719b7e69a9.

configure

index e5337a1..e307fd3 100755 (executable)
--- a/configure
+++ b/configure
@@ -2962,8 +2962,9 @@ EOF
             elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
         esac
 
             elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
         esac
 
-        check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
+        check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
             die "yasm not found, use --disable-yasm for a crippled build"
             die "yasm not found, use --disable-yasm for a crippled build"
+        check_yasm "vextractf128 xmm0, ymm0, 0" || disable avx
     fi
 
     case "$cpu" in
     fi
 
     case "$cpu" in