[MPlayer-dev-eng] [PATCH] Add support for -m{arch,cpu}=pentium{3,4} in GCC 3.1

Felix Buenemann atmosfear at users.sourceforge.net
Mon Jun 10 22:36:16 CEST 2002


On Monday 10 June 2002 20:41, Luca Barbieri wrote:
> GCC 3.1 supports pentium3 and pentium4 as arguments to -march and -mcpu
> (it also supports pentium-mmx and several AMD processors, but it isn't
> obvious how to detect them from /proc/cpuinfo).
> We might also want to consider using the new optimization options like
> -mfpmath.
Your test lacks detection of gcc 3.1, because with older gcc those flags to 
compiler won't work. Also Pentium3/4 detection etc. should be made by cpuid 
not by grepping proc output. Check main/cputable.h for a pretty complete list 
of cpuids.
-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list