summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2016-01-24 02:10:44 -0300
committerLuca Barbato <lu_zero@gentoo.org>2016-01-28 00:43:23 +0100
commit77a44f577b644a328dcf90cde11d2ecae69eda05 (patch)
tree52fd472b574baef1b612ad633c90c27210da91c4 /configure
parentb624f0660b663fc5bee83320275d3ce099ec1c59 (diff)
configure: add missing avx2 support check
AVX2 support was introduced in Yasm 1.2.0 and NASM 2.10, and the oldest versions currently supported are Yasm 0.8.0 and NASM 2.03 Signed-off-by: James Almer <jamrial@gmail.com> Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index c5bcb784f2..8af0dccf24 100755
--- a/configure
+++ b/configure
@@ -4313,6 +4313,7 @@ EOF
check_yasm "movbe ecx, [5]" && enable yasm ||
die "yasm/nasm not found or too old. Use --disable-yasm for a crippled build."
+ check_yasm "vextracti128 xmm0, ymm0, 0" || disable avx2_external
check_yasm "vpmacsdd xmm0, xmm1, xmm2, xmm3" || disable xop_external
check_yasm "vfmadd132ps ymm0, ymm1, ymm2" || disable fma3_external
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external