On 08-Feb-2003 Ray Kohler wrote:
> Has anyone tried building world/kernel with high optimizations (-O2,
> -O3) recently? What breaks? (Booby prize to whoever says "common sense"
> ;) I last tried it quite a few months ago and the resolver died on me,
> don't know what else. I'm not really thinking of running like that, but
> I am curious about others' experiences.

Call me a fool, but I've been using this for quite some time now, in both
-stable (well, with slight modifications) and -current:

CPUTYPE?=k7

CFLAGS= -O2 -pipe -mmmx -m3dnow -fforce-mem -fforce-addr -fstrength-reduce \
-fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \
-fexpensive-optimizations -fschedule-insns2

COPTFLAGS= -O2 -pipe -mmmx -m3dnow -fforce-mem -fforce-addr -fstrength-reduce \
-fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -frerun-cse-after-loop \
-fexpensive-optimizations -fschedule-insns2

My -current box seems to be remarkably stable (and fast!).  Guess I must be
living right.  :-)

-- 
Conrad Sabatier <[EMAIL PROTECTED]> - "In Unix veritas"


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to