Support amdfam10 for --cpu, also avoids a warning about unknown cpu if

--cpu=host is used on AMD Phenom and newer at least.

Originally committed as revision 20367 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Reimar Döffinger 2009-10-24 17:24:25 +00:00
parent bd56505a7f
commit d3ee771514

2
configure vendored
View File

@ -1675,7 +1675,7 @@ case $cpu in
disable cmov disable cmov
;; ;;
# targets that do support conditional mov (cmov) # targets that do support conditional mov (cmov)
i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2) i686|pentiumpro|pentium[23]|pentium-m|athlon|athlon-tbird|athlon-4|athlon-[mx]p|athlon64|k8|opteron|athlon-fx|core2|amdfam10)
cpuflags="-march=$cpu" cpuflags="-march=$cpu"
enable cmov enable cmov
enable fast_cmov enable fast_cmov