mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-23 04:24:35 +02:00
configure: x86: Fix handling of i686 and cpunop features
The i686 feature really is a CPU feature and should be handled as such. The cpunop dependency on i686 should be expressed with a standard _deps declaration instead of a manual test.
This commit is contained in:
parent
6454c44f9f
commit
84146963d2
8
configure
vendored
8
configure
vendored
@ -1178,6 +1178,7 @@ ARCH_EXT_LIST_X86='
|
|||||||
amd3dnowext
|
amd3dnowext
|
||||||
avx
|
avx
|
||||||
fma4
|
fma4
|
||||||
|
i686
|
||||||
mmx
|
mmx
|
||||||
mmxext
|
mmxext
|
||||||
sse
|
sse
|
||||||
@ -1290,7 +1291,6 @@ HAVE_LIST="
|
|||||||
gettimeofday
|
gettimeofday
|
||||||
gnu_as
|
gnu_as
|
||||||
gsm_h
|
gsm_h
|
||||||
i686
|
|
||||||
ibm_asm
|
ibm_asm
|
||||||
inet_aton
|
inet_aton
|
||||||
io_h
|
io_h
|
||||||
@ -1480,7 +1480,9 @@ ppc4xx_deps="ppc"
|
|||||||
|
|
||||||
vis_deps="sparc"
|
vis_deps="sparc"
|
||||||
|
|
||||||
x86_64_suggest="fast_cmov i686"
|
cpunop_deps="i686"
|
||||||
|
x86_64_select="i686"
|
||||||
|
x86_64_suggest="fast_cmov"
|
||||||
|
|
||||||
amd3dnow_deps="mmx"
|
amd3dnow_deps="mmx"
|
||||||
amd3dnowext_deps="amd3dnow"
|
amd3dnowext_deps="amd3dnow"
|
||||||
@ -3567,7 +3569,7 @@ EOF
|
|||||||
check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
|
check_yasm "vextractf128 xmm0, ymm0, 0" && enable yasm ||
|
||||||
die "yasm not found, use --disable-yasm for a crippled build"
|
die "yasm not found, use --disable-yasm for a crippled build"
|
||||||
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
|
check_yasm "vfmaddps ymm0, ymm1, ymm2, ymm3" || disable fma4_external
|
||||||
check_yasm "CPU amdnop" && enabled i686 && enable cpunop
|
check_yasm "CPU amdnop" && enable cpunop
|
||||||
fi
|
fi
|
||||||
|
|
||||||
case "$cpu" in
|
case "$cpu" in
|
||||||
|
Loading…
x
Reference in New Issue
Block a user