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.43) id 1EBtyP-0007tw-EZ for garchives@archives.gentoo.org; Sun, 04 Sep 2005 12:51:49 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j84Cm1bV009419; Sun, 4 Sep 2005 12:48:01 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j84Cg6nh019916 for ; Sun, 4 Sep 2005 12:42:06 GMT Received: by zproxy.gmail.com with SMTP id x7so644026nzc for ; Sun, 04 Sep 2005 05:45:01 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FYr1Lp40eO//qk+8WUwqkIck3FsctGHuJROjNE673JjoP8a7l30eqWWRKQ7X5lRzs/+59wYYxUA801I1zMT/C+6RZSVJ80EgaGjiP9nMqnfe2q+NhUMFeUcTf0nfYCpmLKRloeuxuhnLgNA44m1hhEQJfY2OXHYFmimLEXMLtL0= Received: by 10.36.251.59 with SMTP id y59mr4041898nzh; Sun, 04 Sep 2005 05:45:01 -0700 (PDT) Received: by 10.36.60.4 with HTTP; Sun, 4 Sep 2005 05:45:01 -0700 (PDT) Message-ID: <5bdc1c8b05090405451583cf0a@mail.gmail.com> Date: Sun, 4 Sep 2005 05:45:01 -0700 From: Mark Knecht To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] cpu flags / USE flags / compiler flags In-Reply-To: <200509040821.47958.volker.armin.hemmann@tu-clausthal.de> 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Disposition: inline References: <5bdc1c8b05083109046b8ebdf7@mail.gmail.com> <20050904032719.GA6185@waltdnes.org> <200509040821.47958.volker.armin.hemmann@tu-clausthal.de> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j84Cg6nh019916 X-Archives-Salt: 4af5eaf1-5ee5-462b-8779-3098a4ed1387 X-Archives-Hash: 37541fd90accc9c639e0dc12be6f6d6b I agree with Ellotheth that it seems like there's an opportunity to come up with a good optimization doc but the paper is interesting. The answers might not be the same for P4 vs. AMD vs. sparc vs. Apple. Maybe a suite of files that get compiled, generate the numbers and instruct you what might work best? Interesting info. thanks. - Mark On 9/3/05, Volker Armin Hemmann wrote: > On Sunday 04 September 2005 05:27, waltdnes@waltdnes.org wrote: > > > > > That list shows pentium4, mmx, sse, and sse2. Also, if you have *ANY* > > version of sse available, you can improve performance by running floating > > point math via sse, rather than 387 instructions. I recommend... > > > > CFLAGS="-O2 -pipe -fomit-frame-pointer -march=pentium4 -mmmx -msse -msse2 > > -mfpmath=sse" > > > > > > emm. I would not do this. > > > -mfpmath=sse seems to be slower than -fpmath=387 > > http://www.anandtech.com/mac/showdoc.aspx?i=2436&p=5 > > has the numbers/made the experience. > > It seems, that gcc is not he best optimizer in the world ;) > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list