Safe (but quick) GCC settings on a PC64 with 5.3?
Kirk Strauser
kirk at strauser.com
Mon Dec 13 11:00:37 PST 2004
On Monday 13 December 2004 11:43, Marcel Moolenaar wrote:
> I would start by raising the optimization level to 2 (as in -O2). This
> is our default now in -CURRENT and -STABLE and -CURRENT aren't really that
> far apart that it's not worth a try. You may run into an occasional
> compile breakage though, but I don't expect you'll see any instability.
Thanks for the tip. I wasn't aware that the situation had improved. At any
rate, I'm going to run a set of benchmarks (benchmarks/{bytebench, lmbench,
stream, scimarch2c}) at the various optimization levels and see if I can
find a noticeable difference.
Out of curiosity, on my Athlon systems I can set "CPUTYPE=athlon-tbird"
in /etc/make.conf and it will automatically add "-march=athlon-tbird" to my
system and ports builds. On my Alpha, though, it only adds "-mcpu=ev45"
and not the expected "-march=ev45". Is this general to all Alphas, or is
it because my ev45 is the bottom of the barrel instruction-wise so there's
no instruction set optimization to be had?
--
Kirk Strauser
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-alpha/attachments/20041213/ffadad73/attachment.bin
More information about the freebsd-alpha
mailing list