Date: Thu, 23 Sep 1999 08:00:50 -0300 (ADT) From: The Hermit Hacker <scrappy@hub.org> To: freebsd-current@freebsd.org Subject: gcc optimizer in -current system ... Message-ID: <Pine.BSF.4.10.9909230759130.4590-100000@thelab.hub.org>
next in thread | raw e-mail | index | archive | help
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: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9909230759130.4590-100000>