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 ) id 1RRQXt-0002je-TN for garchives@archives.gentoo.org; Fri, 18 Nov 2011 15:40:06 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD8A821C148; Fri, 18 Nov 2011 15:39:54 +0000 (UTC) Received: from mail-yw0-f53.google.com (mail-yw0-f53.google.com [209.85.213.53]) by pigeon.gentoo.org (Postfix) with ESMTP id 33D7521C078 for ; Fri, 18 Nov 2011 15:39:00 +0000 (UTC) Received: by ywp18 with SMTP id 18so3265691ywp.40 for ; Fri, 18 Nov 2011 07:39:00 -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=kpDaHbsxMhGhPF3V+n8iEAd357BdECfSHfc73A6naYo=; b=GM4HJwWnFyavdl7DUscelbdzN3U/vy3ZrJSAzQrtOEq8MiW27X4O/9S6dZxlPs1E8x ClraS6Z2iMRzQ7XUnSA5oxzAUGvcKOSz4w/23b3TwPMOtr9wuk38ABLRVfO+dW16tBqG KXiRhqXwyNKlFCAph1HsahqPTTprk3H7EMKDg= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.50.203.70 with SMTP id ko6mr3353165igc.19.1321630740433; Fri, 18 Nov 2011 07:39:00 -0800 (PST) Received: by 10.231.148.143 with HTTP; Fri, 18 Nov 2011 07:39:00 -0800 (PST) In-Reply-To: References: <4EC2B642.3010500@gmail.com> <201111160811.17331.stephane@22decembre.eu> Date: Fri, 18 Nov 2011 16:39:00 +0100 Message-ID: Subject: Re: [gentoo-user] Re: Upgrading gcc: both 4.4 and 4.5 needed? From: Fredric Johansson To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 82052dbc-53f9-44b4-8c85-d90328563af3 X-Archives-Hash: 9f9ff9742450f7c13ae8821bb9842f84 On Wed, Nov 16, 2011 at 2:58 PM, Pandu Poluan wrote: > > On Nov 16, 2011 2:26 PM, "Michael Mol" wrote: >> >> On Wed, Nov 16, 2011 at 2:11 AM, St=E9phane Guedon >> wrote: >> > On Wednesday 16 November 2011 02:07:12 Pandu Poluan wrote: >> >> And if you're adventurous, add USE "graphite", reemerge gcc, and >> >> reemerge >> >> world :) >> > >> > what does "graphite" add ? >> >> Thanks for reminding me; I meant to look it up when I got home. >> >> shortcircuit:1@serenity~ >> Wed Nov 16 02:16 AM >> !501 #1 j0 ?0 $ euse -i graphite >> global use flags (searching: graphite) >> ************************************************************ >> no matching entries found >> >> local use flags (searching: graphite) >> ************************************************************ >> >> [snip] >> >> [- =A0 =A0 =A0] graphite >> =A0 =A0sys-devel/gcc: Add support for the framework for loop optimizatio= ns >> =A0 =A0based on a polyhedral intermediate representation >> >> So, a new, experimental optimization model and framework inside your >> compiler. If it's specifically for optimizing on loops, I'll venture a >> guess it's going to be mostly effective for graphics libraries and >> apps. I've got some slightly riskier educated guesses on how it works >> and what some numeric side effects and consequences might be, but they >> scare me, so I think I'll leave it to someone who actually knows more >> about it... >> > > I've been using USE "graphite" since gcc-4.5.3-r1 appeared. Upstream says > that graphite is stable, feature-complete, and production-ready since 4.5= .3. > > To fully taste the effect of graphite, I even went the torturous route of > emerging gcc + libtool + binutils (in that order) twice, followed by a > wholesale-rebuild of everything (emerge --emptytree), then tarballed the > result to my own "stage3.1" tarball to spare me the *huge* amount of time > required. > > I've deployed 3 systems with USE "graphite", and they *felt* snappier. > emerge's *felt* slower, though. (no objective tests, I know). > > I use Gentoo as a gatewall, and there I did a wholesale-rebuild one more > time, this time specifying CFLAGS "-march=3Dnative"... and I just couldn'= t be > happier with the resulting performance :-) > > Rgds, > I might be wrong but don't you need to have the gcc's options for graphite enabled to actually make use of the graphite framework? (You might be using them but you haven't mentioned it.) //Fredric //Fredric