Program optimization

XL C/C++ provides several compiler options that can help you control the optimization and performance of your programs.

With these options, you can perform the following tasks:
  • Select different levels of compiler optimizations.
  • Control optimizations for loops, floating point, and other types of operations.
  • Optimize a program for a particular class of machines or for a very specific machine configuration, depending on where the program will run.
Optimizing transformations can give your application better overall execution performance. XL C/C++ provides a portfolio of optimizing transformations tailored to various supported hardware. These transformations offer the following benefits:
  • Reducing the number of instructions executed for critical operations
  • Restructuring generated object code to make optimal use of the Power Architecture® processors
  • Improving the usage of the memory subsystem


Voice your opinion on getting help information Ask IBM compiler experts a technical question in the IBM XL compilers forum Reach out to us