This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Change x86 default arch for 4.5?


On Sun, Feb 21, 2010 at 12:27:34PM -0800, H.J. Lu wrote:
> On Sun, Feb 21, 2010 at 12:22 PM, Erik Trulsson <ertr1013@student.uu.se> wrote:
> >>
> >> I agreed that gcc for x86 should choose a sensible default for 95% of
> >> current x86 processors in use. People with those old processors can
> >> use older gcc or -march=.
> >>
> >> Default to SSE2 is a good first step.
> >
> > I think you vastly underestimate the number of older x86 processors in
> > use.
> >
> 
> There is nothing which stops them from using -march=i386. It just may not
> be the default.

That argument cuts both ways you know.  There is nothing stopping
people with the latest CPUs from using -march=  to get code optimised
for their hardware.  It just may not be the default.



 


-- 
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]