Compiler Flags problem with core2 CPU
Giorgos Keramidas
keramida at freebsd.org
Wed Mar 3 17:09:32 UTC 2010
On Tue, 2 Mar 2010 23:26:20 +0200, Dan Naumov <dan.naumov at gmail.com> wrote:
>>See the section "3.17.14 Intel 386 and AMD x86-64 Options" in the gcc
>>Info manual. It contains a full list of the supported CPU-TYPE values
>>for the -mtune=CPU-TYPE option. The -march=CPU-TYPE option accepts the
>>same CPU types:
>>
>> `-march=CPU-TYPE'
>> Generate instructions for the machine type CPU-TYPE. The
>> choices for CPU-TYPE are the same as for `-mtune'. Moreover,
>> specifying `-march=CPU-TYPE' implies `-mtune=CPU-TYPE'.
>
> Hello
> Out of curiosity, what is the optimal "-march=" value to use for the
> new Atom D510 CPU: http://ark.intel.com/Product.aspx?id=43098 ?
I'm not sure. 'nocona' seems a pretty close match:
_nocona_
Improved version of Intel Pentium4 CPU with 64-bit
extensions, MMX, SSE, SSE2 and SSE3 instruction set
support.
Without actually trying -march=nocona on one of these I can't
tell for sure if it is 'optimal' or not though.
More information about the freebsd-questions
mailing list