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

Guillaume Poirier gpoirier at mplayerhq.hu
Tue Apr 3 14:33:34 CEST 2007


Diego Biurrun wrote:
> 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
> What happens on older CPUs?

I assume it's just sub-optimal.... but talking about optimal code with
gcc is like believing in the existence of unicorns ;-)


More information about the MPlayer-dev-eng mailing list