public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Any chance for intel core --march?
@ 2007-09-13 13:50 René Köcher
  2007-09-13 14:02 ` Tim Prince
  2007-09-13 20:43 ` Ian Lance Taylor
  0 siblings, 2 replies; 4+ messages in thread
From: René Köcher @ 2007-09-13 13:50 UTC (permalink / raw)
  To: gcc

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

Is there any chance for a --march / --mcpu pair for intel core(duo)?

I'm currently running gentoo linux on a first generation mac book pro
equipped with a intel coreduo processor. Gentoo installation guide
states that --march=prescot is the best choice for my cpu.
But there are also some guides stating that --march=native would result
in better usage of the coreduo's features.

Left with this I was hoping for a intel core cpu-target in gcc 4.3
(which only seems to support core2..)

Is it even possible to fine tune for core(duo)?

Thank's in advance

René

(Sorry if this question was asked before - I searched the mailing-lists
and bugzilla without results.)


[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

* Re: Any chance for intel core --march?
  2007-09-13 13:50 Any chance for intel core --march? René Köcher
@ 2007-09-13 14:02 ` Tim Prince
  2007-09-13 20:43 ` Ian Lance Taylor
  1 sibling, 0 replies; 4+ messages in thread
From: Tim Prince @ 2007-09-13 14:02 UTC (permalink / raw)
  To: shirk87; +Cc: gcc

René Köcher wrote:
> Is there any chance for a --march / --mcpu pair for intel core(duo)?
> 
> I'm currently running gentoo linux on a first generation mac book pro
> equipped with a intel coreduo processor. Gentoo installation guide
> states that --march=prescot is the best choice for my cpu.
> But there are also some guides stating that --march=native would result
> in better usage of the coreduo's features.
> 
> Left with this I was hoping for a intel core cpu-target in gcc 4.3
> (which only seems to support core2..)
> 
> Is it even possible to fine tune for core(duo)?
> 
-march=prescott was the answer for gcc-3.4 32-bit.  gcc-4.3 is well
tuned for Intel Core processors by default.  You may find cases
occasionally where prescott is faster.  As to tuning for the obsolete
core CPU (without the 2), the differences would be minor, perhaps some
cases where -funroll-loops would be less advantageous.

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

* Re: Any chance for intel core --march?
  2007-09-13 13:50 Any chance for intel core --march? René Köcher
  2007-09-13 14:02 ` Tim Prince
@ 2007-09-13 20:43 ` Ian Lance Taylor
  2007-09-14  0:58   ` Tim Prince
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Lance Taylor @ 2007-09-13 20:43 UTC (permalink / raw)
  To: shirk87; +Cc: gcc

René Köcher <shirk87@gmail.com> writes:

> Is there any chance for a --march / --mcpu pair for intel core(duo)?

It's there in the development sources.  -march=core2.

It will be in the gcc 4.3.0 release.

Ian

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

* Re: Any chance for intel core --march?
  2007-09-13 20:43 ` Ian Lance Taylor
@ 2007-09-14  0:58   ` Tim Prince
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Prince @ 2007-09-14  0:58 UTC (permalink / raw)
  To: Ian Lance Taylor; +Cc: shirk87, gcc

Ian Lance Taylor wrote:
> René Köcher <shirk87@gmail.com> writes:
> 
>> Is there any chance for a --march / --mcpu pair for intel core(duo)?
> 
> It's there in the development sources.  -march=core2.
> 
> It will be in the gcc 4.3.0 release.
> 

Could OP be assured that it won't do anything incompatible with the
(obsolete) core duo (without the 2) which few of us ever saw ?

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

end of thread, other threads:[~2007-09-14  0:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-13 13:50 Any chance for intel core --march? René Köcher
2007-09-13 14:02 ` Tim Prince
2007-09-13 20:43 ` Ian Lance Taylor
2007-09-14  0:58   ` Tim Prince

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).