Mercurial > mplayer.hg
comparison configure @ 30321:354c9f4f5c64
Support for detection of AMD Phenom.
author | zuxy |
---|---|
date | Mon, 18 Jan 2010 03:06:43 +0000 |
parents | 7cc3c0fd1036 |
children | a1383e528fa7 |
comparison
equal
deleted
inserted
replaced
30320:90c417401f02 | 30321:354c9f4f5c64 |
---|---|
1816 # k8 cpu-type only supported in gcc >= 3.4.0, but that will be | 1816 # k8 cpu-type only supported in gcc >= 3.4.0, but that will be |
1817 # caught and remedied in the optimization tests below. | 1817 # caught and remedied in the optimization tests below. |
1818 proc=k8 | 1818 proc=k8 |
1819 ;; | 1819 ;; |
1820 | 1820 |
1821 *) proc=k8 iproc=686 ;; | 1821 *) proc=amdfam10 iproc=686 ;; |
1822 esac | 1822 esac |
1823 ;; | 1823 ;; |
1824 GenuineIntel) | 1824 GenuineIntel) |
1825 case "$pfamily" in | 1825 case "$pfamily" in |
1826 3) proc=i386 iproc=386 ;; | 1826 3) proc=i386 iproc=386 ;; |
2026 cpuopt=-mcpu | 2026 cpuopt=-mcpu |
2027 fi | 2027 fi |
2028 if test "$_runtime_cpudetection" = no ; then | 2028 if test "$_runtime_cpudetection" = no ; then |
2029 case "$pvendor" in | 2029 case "$pvendor" in |
2030 AuthenticAMD) | 2030 AuthenticAMD) |
2031 proc=k8;; | 2031 case "$pfamily" in |
2032 15) proc=k8;; | |
2033 *) proc=amdfam10;; | |
2034 esac | |
2035 ;; | |
2032 GenuineIntel) | 2036 GenuineIntel) |
2033 case "$pfamily" in | 2037 case "$pfamily" in |
2034 6) proc=core2;; | 2038 6) proc=core2;; |
2035 *) | 2039 *) |
2036 # 64-bit prescotts exist, but as far as GCC is concerned they | 2040 # 64-bit prescotts exist, but as far as GCC is concerned they |