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.
This commit is contained in:
Diego Biurrun 2013-11-02 17:21:53 +01:00
parent 713d3f98c8
commit 84bf881720

12
configure vendored
View File

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