[MPlayer-dev-eng] [PATCH] (vers. 4) 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)

Luca Barbieri ldb at ldb.ods.org
Thu Jun 13 04:01:21 CEST 2002


> ok, but why you removed fallback to athlon? It has to stay for gcc 3.0.
I didn't remove it, I merged it with pentium{2,3,4} since all of them
fallback to i686.

Fallback from athlon-* to athlon:
if test "$proc" = "athlon-xp" || test "$proc" = "athlon-4" || test "$proc" = "athlon-tbird"; then
   cc_check -march=$proc -mcpu=$proc || proc=athlon
fi

Fallback from athlon to i686:
if test "$proc" = "pentium4" || test "$proc" = "pentium3" || test "$proc" = "pentium2" || test "$proc" = "athlon"; then
   cc_check -march=$proc -mcpu=$proc  || proc=i686
fi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20020613/4e33347b/attachment.pgp>


More information about the MPlayer-dev-eng mailing list