Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Install an optimized BIND 9.2.3Beta' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Install an optimized BIND 9.2.3Beta
Authored by: Arakageeta on May 14, '04 10:32:09PM
I was about to reply stating that -O3 does not unroll loops. But I decided to double check this first through the gcc man page on 10.2.3. To my surprise, -floop-optimize is enabled for all -0x (excluding x=0). However, it is not clear if -O3 actually unrolls loops by asserting this flag. Man page states:


...and optionally do strength-reduction and loop unrolling as well.

Enabled at levels -O, -O2, -O3, -Os.

Optionally?

Under the versions of Linux that I've used, loop unrolling has to be explicitly enabled even if you compile with -O3. What is the case on OS X? My guess is that loop unrolling will not take place unless explicitly specified since -floop-optimize description uses the word "optional". Options typically need to be stated/selected. Anyone agree, disagree, prove, or disprove? If -floop-optimize does not unroll loops, then the stuff above about loop unrolling is moot since no unrolling ever took place.

[ Reply to This | # ]

Install an optimized BIND 9.2.3Beta
Authored by: c15zyx on May 15, '04 07:53:18PM

-O3 will unroll loops, but will determine by heuristics which ones are worth unrolling. To unroll all loops you need a separate flag.



[ Reply to This | # ]