[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiler opt

On Saturday 28 August 2004 19:55, Karl Hegbloom wrote:
> On Sat, 2004-08-28 at 12:11 +0200, Sebastian Steinlechner wrote:
> > On Sat, 2004-08-28 at 02:22, Karl Hegbloom wrote:
> > > How do I determine the default compiler optimization settings?  I'm
> > > wonder if it will be worth while to try and recompile things like
> > > python2.3 and python2.3-numeric with '-m64'?  Or is '-m64' already the
> > > default?
> >
> > If you're compiling on pure64, then you'll get 64-bit ELFs/libs (so -m64
> > is the default).
> Ok.  So then -m64 implies -march=k8 ?

No, but also we want binaries to work on Intel em64t cpus (right?). Using 
-march=k8 would prevent this (by potential use of 3dnow instructions).

If you're asking for binaries for a particular CPU, this something entirely 
different, and is not specific to AMD64. The same applies to i386 vs i686 vs 
k7, armv4 vs armv5 vs xscale, and probably most other architectures.


Reply to: