From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-131408-garchives=archives.gentoo.org@lists.gentoo.org>) id 1RTGHV-0005dX-SW for garchives@archives.gentoo.org; Wed, 23 Nov 2011 17:06:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77AAF21C0CB; Wed, 23 Nov 2011 17:06:36 +0000 (UTC) Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 87E3E21C0CB for <gentoo-user@lists.gentoo.org>; Wed, 23 Nov 2011 17:05:45 +0000 (UTC) Received: by bkaq10 with SMTP id q10so2201371bka.40 for <gentoo-user@lists.gentoo.org>; Wed, 23 Nov 2011 09:05:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=HFm7iNxEOv8rLYhUp80iyYBH4df475QN7Z1QcdXTFiE=; b=xYmYTPqj4QuRjMqcaRT8aIJuFrdok842P+ezjeOtu/F5vWBtshUigg7ZMgPIKs1+3A a1/wuItjFjUSa7kJ1YKWq56icqLQmEHyVRt5CTD244OBlrZdnRlabW27zh4oSVuNrzHd WI+1DeglYplSYJDrgLYFiB//IuXhhWIZYpFVg= Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.131.88 with SMTP id w24mr25047320bks.113.1322067944552; Wed, 23 Nov 2011 09:05:44 -0800 (PST) Received: by 10.204.114.75 with HTTP; Wed, 23 Nov 2011 09:05:44 -0800 (PST) In-Reply-To: <4ECD2583.2000709@xunil.at> References: <20111112005129.003a54d3@digimed.co.uk> <j9mmo5$a2j$1@dough.gmane.org> <4EBF2185.7050801@gmail.com> <CAG1KTJdM=crV4zExP6LNtPgud=0PgRtU2jFrdqQVEC_XhJRafQ@mail.gmail.com> <CAG1KTJfU3hbGF-CAJnzsc4EPBwkhN=oEZX1-yEtTya1+vVr0+g@mail.gmail.com> <20111113115637.3766e813@digimed.co.uk> <4EC2FB10.6040106@xunil.at> <20111116002014.70c4fad4@zaphod.digimed.co.uk> <4EC388D7.6040907@xunil.at> <20111116100933.16d6c90f@digimed.co.uk> <4EC39A5D.2090801@xunil.at> <20111116112510.500a7f06@zaphod.digimed.co.uk> <4EC3A7C0.7010404@xunil.at> <ja0kgh$de8$1@dough.gmane.org> <4EC3DAE1.1050006@xunil.at> <ja0u23$r0r$1@dough.gmane.org> <20111116192327.5499e87b@digimed.co.uk> <4EC42C24.1090007@xunil.at> <20111117012727.050497db@digimed.co.uk> <4EC4E59D.4050407@xunil.at> <4EC5870B.4000301@xunil.at> <20111118000448.315087f7@digimed.co.uk> <4EC62982.1080709@xunil.at> <4ECA0F9A.4030509@xunil.at> <4ECA521E.4000500@xunil.at> <4ECD2583.2000709@xunil.at> Date: Wed, 23 Nov 2011 12:05:44 -0500 Message-ID: <CA+czFiBfHTEdgbsV_VzDLMJBDCF3zKSiW+2bKi0EucNG4irOtg@mail.gmail.com> Subject: Re: [gentoo-user] Re: Re: Re: Another hardware thread From: Michael Mol <mikemol@gmail.com> To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: f448bfa6-1437-47e6-8e50-a93b4f33d8e5 X-Archives-Hash: d788888321adf9cf0548f3e586c7c8c3 On Wed, Nov 23, 2011 at 11:55 AM, Stefan G. Weichinger <lists@xunil.at> wro= te: > > Ad CFLAGS for i7-2600: > > Is that too much ricer-style? =C2=A0--> > > ### gcc -march=3Dnative -E -v - </dev/null 2>&1 | sed -n 's/.* -v - //p' > > CFLAGS=3D"-O2 -D_FORTIFY_SOURCE=3D2 -march=3Dcore2 -mcx16 -msahf -maes > -mpclmul -mpopcnt -mavx --param l1-cache-size=3D32 --param > l1-cache-line-size=3D64 --param l2-cache-size=3D8192 -mtune=3Dgeneric" > > gcc-4.5.3-r1 ... That's equivalent to, what, "-O2 -D_FORTIFY_SOURCE=3D2 -march=3Dnative" ? I don't see anything to complain about. Actually, it's pretty interesting seeing what that processor comes down to for -march=3Dnative. I wish there were a database of processors and their decomposed compiler tuning flags for comparison. That would be *very* interesting, from the standpoint of proc shopping and looking at the evolution of CPUs. --=20 :wq