This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC mini-summit - compiling for a particular architecture


> Look from what we're starting:
> 
> <<
> @item -funroll-loops
> @opindex funroll-loops
> Unroll loops whose number of iterations can be determined at compile
> time or upon entry to the loop.  @option{-funroll-loops} implies
> @option{-frerun-cse-after-loop}.  This option makes code larger,
> and may or may not make it run faster.
> 
> @item -funroll-all-loops
> @opindex funroll-all-loops
> Unroll all loops, even if their number of iterations is uncertain when
> the loop is entered.  This usually makes programs run more slowly.
> @option{-funroll-all-loops} implies the same options as
> @option{-funroll-loops},
> >>
> 
> It could gain a few more paragraphs written by knowledgeable people.
> And expanding documentation doesn't introduce regressions :).

but also does not make anyone actually use the options.  Nobody reads
the documention.  Of course, this is a bit overstatement, but with a
few exceptions, people in general do not enable non-default flags.

Zdenek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]