[MPlayer-dev-eng] [PATCH] cpu detection for core2

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Mon Jun 4 00:34:17 CEST 2007


Hi Zuxy Meng!

 On 2007.06.03 at 15:39:31 +0800, Zuxy Meng wrote next:

> > > -march=k8 should work because without -fprefetch-loop-arrays, gcc
> > > isn't able to generate any AMD specific instructions. But I can't
> > > guarantee this :-) But as for Core2, isn't '-march=nocona
> > > -mtune=pentium-m' faster?
> >
> > pentium-m isn't x86_64, so it would be meaningless to tune x86_64 code for
> > it, so gcc refuses to compile with -mtune=pentium-m.
> 
> Then we're left with no choice but k8...

actually simplest -march=x86-64 works good ;) haven't compared with k8
though.

-- 

Vladimir



More information about the MPlayer-dev-eng mailing list