public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Core 2 Duo
@ 2006-09-13 20:51 Martin Alm
  2006-09-13 23:54 ` Tim Prince
  0 siblings, 1 reply; 4+ messages in thread
From: Martin Alm @ 2006-09-13 20:51 UTC (permalink / raw)
  To: gcc-help

Hi

I'm picking up my new laptop on friday, and it's a Core 2 Duo "Merom"
(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?

Thanks for help
/Martin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Core 2 Duo
  2006-09-13 20:51 Core 2 Duo Martin Alm
@ 2006-09-13 23:54 ` Tim Prince
  2006-09-14  7:16   ` Grigory Zagorodnev
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Prince @ 2006-09-13 23:54 UTC (permalink / raw)
  To: Martin Alm; +Cc: gcc-help

Martin Alm wrote:
> Hi
> 
> I'm picking up my new laptop on friday, and it's a Core 2 Duo "Merom"
> (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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Core 2 Duo
  2006-09-13 23:54 ` Tim Prince
@ 2006-09-14  7:16   ` Grigory Zagorodnev
  2006-09-17  1:50     ` Ryan Hill
  0 siblings, 1 reply; 4+ messages in thread
From: Grigory Zagorodnev @ 2006-09-14  7:16 UTC (permalink / raw)
  To: tprince; +Cc: Martin Alm, gcc-help

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.

- Grigory

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Core 2 Duo
  2006-09-14  7:16   ` Grigory Zagorodnev
@ 2006-09-17  1:50     ` Ryan Hill
  0 siblings, 0 replies; 4+ messages in thread
From: Ryan Hill @ 2006-09-17  1:50 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 961 bytes --]

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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-09-17  1:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-13 20:51 Core 2 Duo Martin Alm
2006-09-13 23:54 ` Tim Prince
2006-09-14  7:16   ` Grigory Zagorodnev
2006-09-17  1:50     ` Ryan Hill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).