[vox-tech] gcc question

Peter Jay Salzman vox-tech@lists.lugod.org
Wed, 27 Feb 2002 09:25:41 -0800


hi everyone,

       -funroll-loops
              Perform the optimization of loop  unrolling.   This
              is  only  done for loops whose number of iterations
              can be determined at compile time or run time.

       -funroll-all-loops
              Perform the optimization of loop  unrolling.   This
              is done for all loops.  This usually makes programs
              run more slowly.

ok, -funroll-all-loops usually makes programs run more slowly.  it also
clearly makes the executable larger.

so what exactly are we optimizing here?

pete