-funroll-all-loops

Igor Schein igor@txc.com
Fri Jan 7 17:07:00 GMT 2000


Hi,

I have a question about the following segment of info pages
for gcc:

`-funroll-all-loops'
     Perform the optimization of loop unrolling.  This is done for all
     loops and usually makes programs run more slowly.
     `-funroll-all-loops' implies `-fstrength-reduce' as well as
     `-frerun-cse-after-loop'.

Does 
"usually makes programs run more slowly" 
imply 
"however, for some rare cases it _will_ make them run faster"?  

If it doesn't, then I don't see a point of using this flag at all.

Thanks

Igor


More information about the Gcc-help mailing list