Re: how to ensure loop unrolling with template programming

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Frank Winter <frank.winter@xxxxxxx> writes:

> How can I make sure the compiler unrolls the loop and inlines all
> function calls? Do I have to use the preprocessor in my case?

Besides the other suggestions, you can try compiling with -O3
-funroll-all-loops.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux