[MPlayer-dev-eng] [PATCH] configure: -mtune=generic for runtime CPU detection

Zuxy Meng zuxy.meng at gmail.com
Tue Apr 3 14:35:44 CEST 2007


Hi,

2007/4/3, Diego Biurrun <diego at biurrun.de>:
> On Fri, Mar 30, 2007 at 11:13:28AM +0800, Zuxy Meng wrote:
> >
> > 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.
>
> What happens on older CPUs?

Should have nothing to do with host CPU type since the change affects
runtime cpu detection builds only.

BTW the upcoming 4.2.0 comes with a 'march=native' option that will
choose proper -march and -mtune based on host CPU type.

-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6



More information about the MPlayer-dev-eng mailing list