The -qarch and -qtune compiler options control the code generated by the compiler. These compiler options adjust the instructions, scheduling, and other optimizations to give the best performance for a specified target processor or range of processors.
- -qarch=ppc
- -qtune=balanced
The -qtune=balanced suboption is new for this release, and becomes the default -qtune setting when certain -qarch settings are specified. Using -qtune=balanced instructs the compiler to tune generated code for optimal performance across a range of recent processor architectures, including POWER6™.
XL C/C++ Version 9.0 expanded the list of -qarch and -qtune suboptions to support the newly-available POWER6 processors.
- -qarch=pwr6
- -qarch=pwr6e
- -qtune=pwr6
The compiler continues to recognize these suboption settings, and will still generate code for their corresponding architectures. However, in some cases the behavior of that code might differ from code generated by previous versions of the compiler. Also, code generated for these unsupported architectures may not even execute at all on supported AIX systems because of differences in architecture.
- -qarch= com | pwr | pwr2 | pwr2s | p2sc | 601 | 602 | 603
- -qtune= pwr | pwr2 | pwr2s | pwrx | p2sc | 601 | 602 | 603
Use caution if you will still be using these unsupported -qarch and -qtune suboption settings.