[MPlayer-dev-eng] [PATCH] (vers. 3) 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 04:47:57 CEST 2002


On Tuesday 11 June 2002 04:02, Luca Barbieri wrote:
> > 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.
>
> Which are nonsense? (apart from the redundant ones)
> If you are referring to k6->pentium2, it seems more correct than falling
> back to k5 (which doesn't exist) and then to pentium (that unlike the k6
> is 586 and has no MMX).
this is wrong, because pentium optimization is faster for K6 and I'm not even 
sure i686 binaries will run on K6.
For Athlon eg. i686 optimization is faster than K6 oprimization, because it's 
more P2-like.

> Anyway, the attached patch directly falls back to GCC 3.0-supported
> processors. k5 is removed because it isn't supported and pentium and
> pentiumpro are renamed to i586 and i686 (that are equivalent, shorter
> and consistent with i386 and i486).
>
> > The current flags are well choosen and need no corrections.
>
> Are you talking about optimization flags? If so, are they well choosen
> among all the options available in GCC 3.1?
no, I'm talking of -march and -mcpu for pre-gcc 3.1 compilers (mainly gcc 
2.95.3). Are there additional -march and -mcpu in gcc 3.0 that are not 
existend in 2.95.x ? Then you could add them, too.
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list