> Date: Sun, 28 Feb 2010 22:37:27 +0800 > From: Aaron Lewis <aaron.lewis1...@gmail.com> > Subject: Re: Compiler Flags problem with core2 CPU > To: Paul B Mahol <one...@gmail.com> > Cc: freebsd-questions@freebsd.org > Message-ID: <4b8a7fa7.1070...@gmail.com> > Content-Type: text/plain; charset=ISO-8859-1; > format=flowed > > Really ? It's bad to use custom flags to compile kernel , > why do you > think so ? > I'd like to know more about this : ) > > So setting optimize compiler flags is only useful for > userland stuff ? > I laughed at your question because I remember reading somewhere that using aggressive optimization options is a good way to find compiler bugs. I think that extends of optimizations for "new" CPU architectures as well. I also heard kernel code avoids MMX instructions for some reason: it may have to do with interrupt handling (fewer registers=faster?). x86 (and AMD64) processors are backwards compatible, so you don't strictly need the latest instructions.
Regards, James Phillips __________________________________________________________________ The new Internet Explorer® 8 - Faster, safer, easier. Optimized for Yahoo! Get it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"