From 84bf8817206126dab3c9abf6055b593389bcb241 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 2 Nov 2013 17:21:53 +0100 Subject: [PATCH] configure: Split x86 SIMD architecture extensions into separate list This avoids checking inline/external assembly dependencies for x86 extensions that do not play a role in inline/external assembly. --- configure | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/configure b/configure index d12427da15..6572e4e3ef 100755 --- a/configure +++ b/configure @@ -1249,16 +1249,14 @@ ARCH_EXT_LIST_ARM=' vfpv3 ' -ARCH_EXT_LIST_X86=' +ARCH_EXT_LIST_X86_SIMD=' amd3dnow amd3dnowext avx avx2 - cpunop xop fma3 fma4 - i686 mmx mmxext sse @@ -1269,6 +1267,12 @@ ARCH_EXT_LIST_X86=' ssse3 ' +ARCH_EXT_LIST_X86=" + $ARCH_EXT_LIST_X86_SIMD + cpunop + i686 +" + ARCH_EXT_LIST=" $ARCH_EXT_LIST_ARM $ARCH_EXT_LIST_X86 @@ -1587,7 +1591,7 @@ mmx_external_deps="yasm" mmx_inline_deps="inline_asm" mmx_suggest="mmx_external mmx_inline" -for ext in $(filter_out mmx $ARCH_EXT_LIST_X86); do +for ext in $(filter_out mmx $ARCH_EXT_LIST_X86_SIMD); do eval dep=\$${ext}_deps eval ${ext}_external_deps='"${dep}_external"' eval ${ext}_inline_deps='"${dep}_inline"'