public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] gcc 4.2 and Core 2 Duo
@ 2007-07-20 17:47 Andrew Gaydenko
  2007-07-20 18:16 ` Kenneth Prugh
                   ` (3 more replies)
  0 siblings, 4 replies; 28+ messages in thread
From: Andrew Gaydenko @ 2007-07-20 17:47 UTC (permalink / raw
  To: gentoo-user

I have noticed, the official portage tree has included gcc 4.2. Now for 
Core 2 Duo CPU (amd64 Gentoo arch) I use in make.conf file:

CFLAGS="-O2 -march=nocona -pipe"

gcc' changelog has this note:

--------------------
...
IA-32/x86-64

    * -mtune=generic can now be used to generate code running well on common x86 chips. 
      This includes AMD Athlon, AMD Opteron, Intel Pentium-M, Intel Pentium 4 and Intel
      Core 2.
    * -mtune=native and -march=native will produce code optimized for the host 
      architecture as detected using the cpuid instruction.
...
--------------------

The question is: must I replace '-march=nocona' with '-mtune=native and -march=native'?
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2007-07-24  8:15 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-20 17:47 [gentoo-user] gcc 4.2 and Core 2 Duo Andrew Gaydenko
2007-07-20 18:16 ` Kenneth Prugh
2007-07-20 18:29   ` Andrew Gaydenko
2007-07-20 19:14     ` Kenneth Prugh
2007-07-20 19:34       ` Dale
     [not found]       ` <46A13192.4050707@comcast.net>
2007-07-20 22:53         ` Kenneth Prugh
2007-07-21  3:31           ` Vladimir G. Ivanovic
     [not found]     ` <200707202044.51769.volker.armin.hemmann@tu-clausthal.de>
2007-07-20 19:04       ` Daniel Pielmeier
2007-07-20 19:35       ` Tobias Heinlein
2007-07-20 21:06         ` Volker Armin Hemmann
2007-07-23 14:02       ` [gentoo-user] -Os = Nono? (was: gcc 4.2 and Core 2 Duo) Alexander Skwar
2007-07-23 17:29         ` Volker Armin Hemmann
2007-07-23 17:47           ` [gentoo-user] -Os = Nono? Kenneth Prugh
2007-07-23 19:05             ` Mike Edenfield
2007-07-23 19:27               ` Benno Schulenberg
2007-07-23 19:50                 ` Zsitvai János
2007-07-23 19:57                   ` [gentoo-user] " Grant Edwards
2007-07-24  8:05                     ` Neil Bothwick
2007-07-23 21:49                 ` [gentoo-user] " Mike Edenfield
2007-07-23 23:05             ` Volker Armin Hemmann
2007-07-20 18:47   ` [gentoo-user] gcc 4.2 and Core 2 Duo Florian Philipp
2007-07-20 19:01     ` Kenneth Prugh
2007-07-23 14:00       ` [gentoo-user] " Alexander Skwar
2007-07-20 18:24 ` [gentoo-user] " Daniel Pielmeier
2007-07-20 18:28 ` Neil Bothwick
2007-07-20 18:36 ` Volker Armin Hemmann
2007-07-20 18:59   ` Kenneth Prugh
     [not found]   ` <200707201412.22335.bss03@volumehost.net>
2007-07-20 19:17     ` Boyd Stephen Smith Jr.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox