[MPlayer-dev-eng] [PATCH] two independent patches for configure

wm4 nfxjfg at googlemail.com
Wed Oct 10 18:09:08 CEST 2012


On Wed, 10 Oct 2012 23:14:22 +0800
Xidorn Quan <quanxunzhen at gmail.com> wrote:

> > Then why not -march=native -mtune=native ?
> >
> 
> Some compilers like clang don't support cpu autodetection at present.

Maybe because it's not that useful of a feature anyway, and mostly leads
to binaries that run on only one CPU. Even in mplayer, most of the
"heavily lifting" happens in ffmpeg or in inline assembler. In other
words, it's pointless and dangerous.

Or do you have any hard numbers how this additional detection (or any
detection) improves performance?

(This might also be one of the reasons why distros supposedly often ship
"broken" mplayer binaries.)


More information about the MPlayer-dev-eng mailing list