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: Turn on -funroll-loops at -O3?


"H.J. Lu" <hjl.tools@gmail.com> writes:

> Hi,
>
> SInce -O3 turns on vectorizer, should it also turn on
> -funroll-loops?

In my experience gcc already unrolls very aggressively at -O3,
due to the vector unroller which is enabled by default.

-Andi


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