Browse Source

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 e287201c77)

Signed-off-by: Diego Biurrun <diego@biurrun.de>
tags/n0.8.13
Diego Biurrun 13 years ago
parent
commit
7b91e52eb9
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      configure

+ 1
- 2
configure View File

@@ -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


Loading…
Cancel
Save