Subject: kernel optimizations
To: None <netbsd-help@netbsd.org>
From: Sung N. Cho <sucho2@vt.edu>
List: netbsd-help
Date: 01/28/2002 13:12:59
Hi,

I have added the following optimizations in my mk.conf file.  I am not sure 
if all these options are for optimizations since the man page for gcc was 
poor in describing these.  If anyone sees that I've accidently put any 
deoptimizing options, your comment would be appreciated.


CFLAGS+=-O3 -march=i386 -mcpu=i686
CXXFLAGS=-O3 -march=i386 -mcpu=i686
COPTS+=-g -O3 -mcpu=i686 -fexpensive-optimizations -ffast-math -msoft-float \
		         -fmemoize-lookups -fthread-jumps -m486 -fomit-frame-pointer \
			 -finline-functions

Yours sincerely,
Sung N. Cho,
Monday, Jan. 28, 2002.