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.
pull/293/head
Diego Biurrun 11 years ago
parent 713d3f98c8
commit 84bf881720
  1. 12
      configure

12
configure vendored

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

Loading…
Cancel
Save