[MPlayer-users] bug in CPU autodetection: athlon-xp is detected, but optimizing is for athlon-4

Savchenko Andrew Bircoph at list.ru
Thu Feb 3 20:16:31 CET 2005


> MPlayer's ./configure detects my athlon-xp, but turns on optimizing for
> athlon-4! Why? Afaik, (athlon-4 != athlon-xp). This is necessery output
> of ./configure:
> ---
> Detected operating system: Linux
> Detected host architecture: i386
> Checking for cc version ... 3.2.2, ok
> Checking for host cc ... cc
> Checking for CPU vendor ... AuthenticAMD (6:10:0)
> Checking for CPU type ...  AMD Athlon(tm) XP 2500+
> Checking for GCC & CPU optimization abilities ... athlon-4
> ---
> It is corresponding part of configure.log:
> ---
> ============ Checking for cc version ============
> Result is: 3.2.2, ok
> ##########################################
>
> ============ Checking for host cc ============
> Result is: cc
> ##########################################
>
> ============ Checking for CPU vendor ============
> Result is: AuthenticAMD (6:10:0)
> ##########################################
>
> ============ Checking for CPU type ============
> Result is:  AMD Athlon(tm) XP 2500+
> ##########################################
>
> ============ Checking for GCC & CPU optimization abilities ============
>
> int main(void) { return 0; }
>
> cc     /tmp/mplayer-conf-13079-505.c -o /tmp/mplayer-conf-11869-505.o
> -march=athlon-4 -mcpu=athl
>
> ldd /tmp/mplayer-conf-11869-505.o
>         libc.so.6 => /lib/tls/libc.so.6 (0x42000000)
>         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
>
> Result is: athlon-4
> ##########################################
> ---
> It is 'cat /proc/cpuinfo':
> ---
> processor       : 0
> vendor_id       : AuthenticAMD
> cpu family      : 6
> model           : 10
> model name      : AMD Athlon(tm) XP 2500+
> stepping        : 0
> cpu MHz         : 1825.358
> cache size      : 512 KB
> fdiv_bug        : no
> hlt_bug         : no
> f00f_bug        : no
> coma_bug        : no
> fpu             : yes
> fpu_exception   : yes
> cpuid level     : 1
> wp              : yes
> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
> cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow
> bogomips        : 3643.80
> ---
> Of cource I can change this options (athlon-4 -> athlon-xp) in
> configure.mak. I change them manually and everything works fine, but it's a
> pity that autodetection fails.

Sorry, I've forgot to mention that I'm using the latest CVS version. This bug 
is also detected in all other available for me: versions mplayer-1.0pre5, 
mplayer-1.0pre5try2, mplayer-1.0pre6a




More information about the MPlayer-users mailing list