ccc optimizations ?

RJ45 rj45 at slacknet.com
Fri Mar 12 11:55:11 PST 2004




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




More information about the freebsd-alpha mailing list