tune Optimization Option

Syntax: Default:
opt(tune, CPUtype) opt(tune, pwr) If gen(arch,CPUtype) is not specified; it can vary according to the arch option setting.
opt(tune, blend)

This option specifies the CPU architecture for which the code is optimized. You can specify a string representing one of the processor types for your platform as the value of CPUtype:

Processor Types (AIX)
Processor Types (OS/2 and Windows NT)

On AIX platforms, you can use this option together with the gen(arch, CPUtype) option. The gen(arch, CPUtype) option establishes what instruction set is used to generate code. The opt(tune, CPUtype) option determines the processor for which the code is optimized.  The default and allowed settings of the tune option depend on the processor type set with gen(arch, CPUtype), as described in the AIX processor types reference, and the following points apply to the relationship between these two options:

The generated code can run on any x86 processor, but is specifically tuned for the target processor. The compiler also performs optimizations that help other processors if those optimizations do not in turn detract from the performance of the target processor. For example, code optimized for a 486 processor also includes any Pentium optimizations that do not diminish 486 execution.

If you do not know what processor your application will be run on, specify opt(tune, blend). The compiler includes optimizations that help all x86 processors, but specifically improve execution on Pentium, PentiumII and PentiumPro processors.



Incremental C++ Build
C Compilation
Configuration Files


Set Build Options
Build
Optimize YourApplication


Optimization Options
Optimization Options
Processor Types (AIX)
Processor Types (Intel)