Native or Core2
Tim Prince
n8tm@aol.com
Fri Jan 1 15:27:00 GMT 2010
Jason Carson wrote:
>> Hello,
>>
>> I've searched the archives, Google and the Gentoo forums but I can't find
>> an answer to this question. The Gentoo wiki mentions the core i7 but no
>> mention of the core i5.
>>
>> I am putting together a system using a Core i5 CPU with Gentoo Linux. Does
>> GCC support Core i5 CPU using -march=native or should I use -march=core2.
>>
> I guess I should mention that Gentoo currently uses GCC 4.3.4
>
If you like -march=native for Core I7, it should work the same on Core I5.
I've used only x86_64 on Core I7, generally setting -mtune=barcelona
-funroll-loops --param -unroll-times=4 -msse4
If your gcc isn't new enough to support those options, obviously Core I5
wasn't available when it was written up.
More information about the Gcc-help
mailing list