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: about unroll loops


On Wed, Nov 27, 2002 at 08:02:51PM -0800, Zack Weinberg wrote:
> "Ö£¬B" <taurus-zheng@163.com> writes:
> >    I wanted to unroll the loop, so I compile it use the command 
> > "gcc -unroll-all-loops -S loop.c", then I look up the loop.s,
> > but the loop is not unroolled. Please tell me the reason.
> 
> 1) The option you want is spelled "-funroll-all-loops".

Or, if that looks strange to people used to the GNU "long options," you
can also spell it "--unroll-all-loops".

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


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