From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 16 07:40:33 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 084CF16A4CE for ; Tue, 16 Mar 2004 07:40:33 -0800 (PST) Received: from odot.okladot.state.ok.us (odot.okladot.state.ok.us [192.149.244.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A2D543D39 for ; Tue, 16 Mar 2004 07:40:32 -0800 (PST) (envelope-from root@techpc04.okladot.state.ok.us) Received: from notes9c.okladot.state.ok.us (notes9a.okladot.state.ok.us [10.36.36.31])JAA24900; Tue, 16 Mar 2004 09:40:01 -0600 Received: from techpc04.okladot.state.ok.us ([199.27.9.37]) by notes9c.okladot.state.ok.us (Lotus Domino Release 5.0.12) with ESMTP id 2004031609405129:3801 ; Tue, 16 Mar 2004 09:40:51 -0600 Received: by techpc04.okladot.state.ok.us (Postfix, from userid 0) id 91D185C29; Tue, 16 Mar 2004 09:40:41 -0600 (CST) To: From: "Paul Seniura" Errors-To: "Paul Seniura" Sender: "Paul Seniura" References: <20040315001052.GA20921@diogenis.ceid.upatras.gr> <20040313192357.GA10778@diogenis.ceid.upatras.gr> <20040315181625.7D59D5C29@techpc04.okladot.state.ok.us> In-Reply-To: Message-Id: <20040316154041.91D185C29@techpc04.okladot.state.ok.us> Date: Tue, 16 Mar 2004 09:40:41 -0600 (CST) X-MIMETrack: Itemize by SMTP Server on Notes9c/ODOT(Release 5.0.12 |February 13, 2003) at 03/16/2004 09:40:51 AM,2003) at 03/16/2004 09:40:51 AM, Serialize complete at 03/16/2004 09:40:51 AM cc: freebsd-hackers@freebsd.org Subject: re: GCC optimization bugs -- still there or a historic artifact? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Paul Seniura List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 15:40:33 -0000 Hi, > [snip] > > And as for PPC, I've compiled things as high as -O5, > > which is its limit I believe. ;) > [snip] > > hm, no docs for -On, n > 3 at http://xrl.us/brh2 . Looking at the > code: http://xrl.us/brh5 (search for 'optimize >= 3'), I don't see any > evidence that -O5 is different from -O3. Though apple gcc is somewhat > changed from fsf gcc, so maybe apple gcc does something different. (kinda o.t.) Oh Yes I'm quite sure of it -- Apple and IBM are working on gcc and feeding the changes back to the GNU teams, who are probably swamped. ;) So I bet it won't be seen in gcc34 yet, tho. And this work may also be going into IBM's 'enterprise' compiler (the US$3K version ;) . I believe the man page for gcc on Panther does show what the levels do at -O4 and -O5. (My G4 is at home, TPTB would have a hissy-fit if I brought it in. I have the Darwin CD for i386 based on Panther, here at work; maybe gcc is installed from it, and I can try posting its manpage somehow.) I have a feeling the higher -O levels won't show until/unless gcc itself is compiled for ppc platforms, y'know #ifdefs in the src. Else the patches for the GNU teams are in a long line for review. They're doing the work because IBM *really* want the G5 to be very-well supported. And not just for Apple. You see Sony & M$ have announced their next game consoles will be based on the G5. I'm hoping all gcc users will eventually see the benefits of their work. -- thx, Paul Seniura.