This is the mail archive of the gcc-help@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: Core 2 Duo


Grigory Zagorodnev wrote:
> Tim Prince wrote:
>> Martin Alm wrote:
>>> (T5600). As I understand -march=merom is comming in 4.3. But we are
>>> not there yet, I'm going to use 4.1 and I want to know what flags are
>>> recommended?
>>>
>> -march=nocona which 4.2 would select for you, is probably as good as
>> you can do.
>>
> For 4.2 the better choice is -mtune=generic, which is actually default.
> Same you can get with 4.1 compiler in RH FC5.
> 
> For regular 4.1 you can try either -mtune=nocona or -mtune=ppro.

We've been debating this recently and I'd like to see what others think.

With 4.1, would it be better to use -m(arch|tune)=prescott or
-march=pentium-m for Core Duo (Yonah) in a 32bit userland?  Core Duo 2
(Merom)?  Would -march=pentium-m -msse3 be a better choice?

In a 64bit world, how does -march=nocona compare to something like
-march=pentium-m -msse3 -m64 (which i think is a little sketchy)?

Thanks,
--de.

Attachment: signature.asc
Description: OpenPGP digital signature


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