[MPlayer-users] CPU optimization

Arpi arpi at thot.banki.hu
Tue Oct 15 13:50:02 CEST 2002


Hi,

> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > for the best performance optimize it for a given single cpu.
> > p1, celeron, p4 and athlon are very different, is not possible to make binary
> > which run optimal on all them.
> 
> Thanks a lot for your fast and effective reply about the 
> --enable-runtime-cpudetection option!!!
> 
> But I'm a little confused: I tried compiling with your option 
> and of course it works, so that, as far as I understand, mplayer 
> automatically chooses which optimizing CPU flags to use depending 
> on the CPU is running on.
> 
> So why do you say that it is not possible to make a binary which 
> runs optimal on all them?

it only selects cpu features, liek mmx, sse, 3dnow, but the C code
is optimized for the cpu you give to gcc with -mcpu/-march

> The one I just built with the option you told me [and all cpu 
> flags on] seems exactly that.
> Where am I wrong?
everywhere


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu




More information about the MPlayer-users mailing list