From owner-freebsd-alpha@FreeBSD.ORG Fri Mar 12 11:55:11 2004 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 474B516A4CF for ; Fri, 12 Mar 2004 11:55:11 -0800 (PST) Received: from slacknet.slacknet.com (slacknet.slacknet.com [204.228.135.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16C4F43D2D for ; Fri, 12 Mar 2004 11:55:11 -0800 (PST) (envelope-from rj45@slacknet.com) Received: from rj45 (helo=localhost) by slacknet.slacknet.com with local-esmtp (Exim 4.30 #1 (Debian)) id 1B1skQ-00016z-9S for ; Fri, 12 Mar 2004 12:55:10 -0700 Date: Fri, 12 Mar 2004 12:55:10 -0700 (MST) From: RJ45 To: freebsd-alpha@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SA-Exim-Scanned: No; SAEximRunCond expanded to false Subject: ccc optimizations ? X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Mar 2004 19:55:11 -0000 Hello, what are the best comand line options to gain a fastest as possible executable using ccc ? I have a XP1000 with 4.9 release ( with 5.x I had lots a problems with ccc). I tryed these options: ccc -fast -O3 -arch ev67 -ifo and I gaing slightly better results than using ccc with no options actually after many tries it looks like "-fast" is the one option which counts something, all the others (-O3 -arch or -tune) looks like useless when used with -fast if I don't use -fast also I have to compile the ieee_fp_control.c and errno_location.c together with my code otherwise ther eare unresolved externals. anyone has some feedback about how to gain the best performances out of ccc ? Anyway I want to mention that with a progam doing lots of integer calculations and iterations with arctan function on my XP1000 using ccc I get better results that on a Pentium IV 3GHz using gcc with i686 optimization switches. ev6 is a great CPU. Rick