Processor Types (OS/2 and Windows NT)

You can specify the CPU architecture of the target processor with the gen(arch, CPUtype) option. This option determines the instruction set used to generate code. The default setting is 486. Other possible settings are shown in the table below.

CPUtype generated code runs on
x86 any 32-bit x86 architecture
486 any architecture that supports the 486 instruction set
pentium any architecture that supports the Pentium instruction set
pentium2 any architecture that supports the Pentium2 instruction set

You can improve the performance of code that makes heavy use of floating-point types by building with gen(arch, Pentium2).

To optimize code for a specific target processor, use the opt(tune, CPUtype) option. The default setting for this option is blend, which produces code that runs fast on all processors, but not as fast as if the specific architecture was specified. You can also specify the following processor types:



Set Build Options
Build


Code Generation Options
Optimization Options