PATCH: Select the default x86 arch/cpu based on target

Jason Merrill jason@redhat.com
Fri Feb 26 00:37:00 GMT 2010


On 02/25/2010 05:33 PM, H.J. Lu wrote:
> On Thu, Feb 25, 2010 at 2:21 PM, Jason Merrill<jason@redhat.com>  wrote:
>> On 02/25/2010 05:16 PM, H.J. Lu wrote:
>>>
>>> Here is the updated patch to allow native for with_cpu/with_arch.
>>
>> Looks like you're missing cpu= in several of the cases:
>>
> There is:
>
> cpu=generic
>
> at the top.  For those processors without schedulers, we will
> use their ISAs, but keep generic tuning, which was set to
> provide decent optimization for all x86 processors.

It looks to me like there is specific tuning for i386, i486, pentiumpro, 
pentium4, and nocona in i386.c.  And prescott uses the nocona tuning, 
but it looks like cpu=prescott will work too.

Jason



More information about the Gcc-patches mailing list