unroll-loops - Is it always safe?

Kris Kennaway kris at obsecurity.org
Thu Apr 5 15:02:35 UTC 2007


On Thu, Apr 05, 2007 at 09:54:08AM -0300, scuba at centroin.com.br wrote:
> Hi All,
> 
> 	Is it always safe to use "-funroll-loops" as a flag to 
> /etc/make.conf ? Does it realy improve the compiled programs?

No and usually not.

> 	When should I avoid to use it?

You should never use it unless you have measured an improvement on
specific code.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070405/9f118569/attachment.pgp


More information about the freebsd-questions mailing list