[MPlayer-dev-eng] [PATCH] configure: -mtune=generic for runtime CPU detection
zuxy.meng at gmail.com
Sun Apr 1 12:17:36 CEST 2007
2007/3/31, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org>:
> On Saturday, 31 March 2007 at 12:57, Zuxy Meng wrote:
> > Hi,
> > 2007/3/30, Dominik 'Rathann' Mierzejewski <dominik at rangers.eu.org>:
> > >On Friday, 30 March 2007 at 05:13, Zuxy Meng wrote:
> > >> Hi,
> > >>
> > >> gcc 4.2.0 (currently in rc1 stage) will support "generic"
> > >> optimization, which promises to deliver optimal performance on a
> > >> collection of "comtemporary" CPUs (now including AMD Athlon, AMD
> > >> Opteron, Intel Pentium M, Intel Pentium 4 and Intel Core 2). This
> > >> patch add this feature for mplayer, falling back to i686 for older
> > >> gcc.
> > >
> > >GCC 4.1 shipped with Fedora is patched and already supports it.
> > So maybe you can help test it:-)
> I've been building MPlayer binaries with CFLAGS set to -O2 -mtune=generic
> for months without any adverse effects (though I haven't benchmarked
> if it's slower or faster than with configure-selected CFLAGS).
So what about the patch?
> > BTW have they backported the "march=native" option too?
> Not to FC6. It might be present in Fedora 7, but I haven't checked that.
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
More information about the MPlayer-dev-eng