From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1IBx8T-0007bL-CR for garchives@archives.gentoo.org; Fri, 20 Jul 2007 18:23:29 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l6KILVcV031818; Fri, 20 Jul 2007 18:21:31 GMT Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.228]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l6KIGcaf026212 for ; Fri, 20 Jul 2007 18:16:39 GMT Received: by wr-out-0506.google.com with SMTP id 68so717708wri for ; Fri, 20 Jul 2007 11:16:38 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; b=CXNRY4eG5oJIFX8GOXBLjrUA6dDq95OhkbRU9zTCJV9N38McKg6LzsA9Bh5O+kaVMnG17wiP9FOO4oY3loUf4w8HyNmDVxODBJuOVh3x8GsyJ8DCzhGP4j8nkCrBm5zxkTfGOTDcpmUqT6z3xtAYKH8Mbc4O3BbnXI18xR13ydI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:references:in-reply-to:x-enigmail-version:content-type; b=ap7Bg1VuS/zyYNsQUSeAX7WPhrD1hSQobBhTJ6D++96Jhr6hLQ/CM2SIp3ICJggPfGk6dmUsEeO+T10pZ4EHcSgoDVzViT0OzWWx0mXv9Z/JRrpRRriq0A6ahjKp3fbKeDhAlRdBRY8y9NldocZtBawYY0Eioo5T17M6324RjNY= Received: by 10.90.73.7 with SMTP id v7mr726795aga.1184955398336; Fri, 20 Jul 2007 11:16:38 -0700 (PDT) Received: from ?68.200.145.252? ( [68.200.145.252]) by mx.google.com with ESMTPS id r28sm940155ele.2007.07.20.11.16.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Jul 2007 11:16:37 -0700 (PDT) Message-ID: <46A0FC00.3020000@gmail.com> Date: Fri, 20 Jul 2007 14:16:32 -0400 From: Kenneth Prugh User-Agent: Thunderbird 2.0.0.4 (X11/20070716) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] gcc 4.2 and Core 2 Duo References: <200707202147.17773@goldspace.net> In-Reply-To: <200707202147.17773@goldspace.net> X-Enigmail-Version: 0.95.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3B41B41F103A471BDF4C9664" X-Archives-Salt: c6de2d76-2499-4bc0-8dc2-53911129d285 X-Archives-Hash: bfdb6eed9a044e3a45adb662cdfa0586 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3B41B41F103A471BDF4C9664 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Andrew Gaydenko wrote: > I have noticed, the official portage tree has included gcc 4.2. Now for= =20 > Core 2 Duo CPU (amd64 Gentoo arch) I use in make.conf file: >=20 > CFLAGS=3D"-O2 -march=3Dnocona -pipe" >=20 > gcc' changelog has this note: >=20 > -------------------- > ... > IA-32/x86-64 >=20 > * -mtune=3Dgeneric can now be used to generate code running well on= common x86 chips.=20 > This includes AMD Athlon, AMD Opteron, Intel Pentium-M, Intel Pen= tium 4 and Intel > Core 2. > * -mtune=3Dnative and -march=3Dnative will produce code optimized f= or the host=20 > architecture as detected using the cpuid instruction. > ... > -------------------- >=20 > The question is: must I replace '-march=3Dnocona' with '-mtune=3Dnative= and -march=3Dnative'? I have a Core2 Duo E6600 and use these CFLAGS with GCC 4.2: CFLAGS=3D"-Os -march=3Dnative -mtune=3Dnative -fomit-frame-pointer -pipe = -mmmx -msse2 -msse3" Native works fine here. --=20 Kenneth Prugh - Ken69267 Gentoo AMD64 Arch Tester --------------enig3B41B41F103A471BDF4C9664 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGoPwF0PM4px2/kjgRAhLVAJ9QxexsM7xHMegVcDJ6KlSb3olTRwCeOl5u jX9n4wZgqmfQx87wlJDgTlc= =CICx -----END PGP SIGNATURE----- --------------enig3B41B41F103A471BDF4C9664-- -- gentoo-user@gentoo.org mailing list