From owner-freebsd-hackers Thu Feb 13 18:44:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id SAA29545 for hackers-outgoing; Thu, 13 Feb 1997 18:44:07 -0800 (PST) Received: from who.cdrom.com (who.cdrom.com [204.216.27.3]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA29537 for ; Thu, 13 Feb 1997 18:44:04 -0800 (PST) Received: from caipfs.rutgers.edu (root@caipfs.rutgers.edu [128.6.155.100]) by who.cdrom.com (8.7.5/8.6.11) with ESMTP id SAA10602 for ; Thu, 13 Feb 1997 18:43:47 -0800 (PST) Received: from jenolan.caipgeneral (jenolan.rutgers.edu [128.6.111.5]) by caipfs.rutgers.edu (8.8.5/8.8.5) with SMTP id VAA11143; Thu, 13 Feb 1997 21:42:13 -0500 (EST) Received: by jenolan.caipgeneral (SMI-8.6/SMI-SVR4) id VAA04024; Thu, 13 Feb 1997 21:41:56 -0500 Date: Thu, 13 Feb 1997 21:41:56 -0500 Message-Id: <199702140241.VAA04024@jenolan.caipgeneral> From: "David S. Miller" To: hamby@aris.jpl.nasa.gov CC: asami@vader.cs.berkeley.edu, jmb@freefall.freebsd.org, hackers@FreeBSD.ORG In-reply-to: (message from Jake Hamby on Thu, 13 Feb 1997 16:05:31 -0800 (PST)) Subject: Re: Sun Workshop compiler vs. GCC? Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Date: Thu, 13 Feb 1997 16:05:31 -0800 (PST) From: Jake Hamby Your argument probably applies to -xO5, but it sounds like -xO4 performs some very useful optimizations indeed. I routinely run the Metrowerks compiler at -O7 (it has four levels of optimization, plus peephole optimization plus code scheduling), so either of these compilers sounds a lot more sophisticated than GCC, if for no other reason than the granularity of choices available. GCC has more than 20 or so specific -f* options which allow you to selectively enable and disable any specific optimization pass it has. How much more granularity would you like to have? These are all completely explained in gcc's documentation. ---------------------------------------------//// Yow! 11.26 MB/s remote host TCP bandwidth & //// 199 usec remote TCP latency over 100Mb/s //// ethernet. Beat that! //// -----------------------------------------////__________ o David S. Miller, davem@caip.rutgers.edu /_____________/ / // /_/ ><