just curious, but what is the max setting that can be used to compile the
kernel?

looking through the man page, I can do something like:

-O3 -march=pentium

and, if I'm reading the man page right:

       -mcpu=cpu type
              Assume  the  defaults for the machine type CPU TYPE
              when scheduling instructions.  The choices for  CPU
              TYPE are: i386, i486, i586 (pentium), pentium, i686
              (pentiumpro), and pentiumpro.  While picking a spe-
              cific  CPU  TYPE will schedule things appropriately
              for that particular chip,  the  compiler  will  not
              generate  any  code  that  does not run on the i386
              without the -march=cpu type option being used.

       -march=cpu type
              Generate instructions  for  the  machine  type  CPU
              TYPE.   The  choices  for CPU TYPE are: i386, i486,
              pentium,  and  pentiumpro.   Specifying  -march=cpu
              type implies -mcpu=cpu type.

it will generate code that wouldn't run on an i386, but is totally
optimized for a pentium?



Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: [EMAIL PROTECTED]           secondary: scrappy@{freebsd|postgresql}.org 



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

Reply via email to