[MPlayer-dev-eng] [PATCH] Support GCC 3.1 flags for Pentium MMX,2,3,4, K6s, Athlons using model/stepping (was Re: [PATCH] Add support for -m{arch,cpu}=pentium{3,4} in GCC 3.1)

Felix Buenemann atmosfear at users.sourceforge.net
Tue Jun 11 03:04:17 CEST 2002


On Tuesday 11 June 2002 02:55, Luca Barbieri wrote:
> > not by grepping proc output. Check main/cputable.h for a pretty complete
> > list of cpuids.
>
> OK. Done in the following patch, which also includes support for Pentium
> MMX, 2, K6s and Athlons. It also changes the default processor to the
> most advanced one under the assumption that newer processors will be
> both better and compatible with older ones.
> Also, k6 now falls back to pentium2 rather than k5 (since it has MMX and
> is a 686) and pentium2 falls back to pentium-mmx if pentiumpro is not
> available (this is only for completeness since AFAIK all GCCs that
> support pentium-mmx also support pentium2).
>
> Any suggestions for the TODOs?
You use much to many fallbacks and some of them are nonsense, so please add 
the new ones (which are all avaliable in the same gcc release, so no sense to 
fallback from athlon-xp to athlon-4) and fall back to the now used ones, if 
not available. The current flags are well choosen and need no corrections.

Also please send the new patch as attachment, not inlined.
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list