arrow_back_ios
Back to List
-O[n]
Offload KB - offload-library
Old Content Alert
Please note that this is a old document archive and the will most likely be out-dated or superseded by various other products and is purely here for historical purposes.
Offload™ provides the standard GCC optimization levels, namely –O0, –O1, –O2, –O3 & -Os. These optimization levels behave in a similar way to GCC, -O0 turns off optimization, -O1, -O2 & -O3 add more optimizations techniques to achieve performance, and –Os compiles the code with size in mind.
Note that unlike GCC the Offload™ compiler inlines function definitions even on -O0. To explicitly disable inlining performed by the Offload™ compiler the option -fno-inline should be used.