Change x86 default arch for 4.5?
H.J. Lu
hjl.tools@gmail.com
Sun Feb 21 21:54:00 GMT 2010
On Sun, Feb 21, 2010 at 1:07 PM, Erik Trulsson <ertr1013@student.uu.se> wrote:
> 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.
That is where majority comes in.
--
H.J.
More information about the Gcc
mailing list