Compiler optimization

The compiler provides many different options for optimizing the code it produces. For example:

  • Vectorization enables the use of the NEON Single Instruction Multiple Data (SIMD) instructions that allow parallel processing of data.
  • Link Time Optimization (LTO) increases the number of optimization opportunities by analyzing source code from different modules together.
  • Function inlining can improve performance by reducing the overhead of repeated function calls.

These optimization techniques can be individually controlled using options supplied to the compiler and linker.

Previous