Makefile and Kernel Optimizations in 6.0

Kris Kennaway kris at
Tue Nov 15 00:21:33 GMT 2005

On Mon, Nov 14, 2005 at 11:38:56PM +0000, Chris wrote:
> Kris Kennaway wrote:
> >P.S. -funroll-loops and -ffast-math are commonly used by people who
> >don't understand what they mean but like the thrill it gives them to
> >compile their application with secret optimizations (e.g. the word
> >"fast" makes them feel excited).  However, the former is often not
> >actually an optimization (which is why it's not on by default), and
> >the latter can cause incorrect computations (but I think it's
> >completely irrelevant in the kernel which does not do FP math).
> Just out of curiosity, what would people who know what they are doing 
> use them for? -funroll-loops sounds like an amusement park :P

They would carefully test to see whether it helped their specific
CPU-intensive application, and only use it if so.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url :

More information about the freebsd-questions mailing list