tune

Determines the version of the architecture for which the compiler generates instructions.

IDE Equivalent

None

Architectures

IA-32, Intel® 64 architectures

Syntax

Linux and Mac OS X:

-tune keyword

Windows:

/tune:keyword

Arguments

keyword

Specifies the processor type. Possible values are:

pn1

Optimizes for the Intel® Pentium® processor.

pn2

Optimizes for the Intel® Pentium® Pro, Intel® Pentium® II, and Intel® Pentium® III processors.

pn3

Optimizes for the Intel® Pentium® Pro, Intel® Pentium® II, and Intel® Pentium® III processors. This is the same as specifying pn2.

pn4

Optimizes for the Intel® Pentium® 4 processor.

Default

pn4

The compiler optimizes for the Intel® Pentium® 4 processor.

Description

This option determines the version of the architecture for which the compiler generates instructions.

On systems using Intel® 64 architecture, only keyword pn4 is valid.

Alternate Options

None