tune

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

IDE Equivalent

None

Architectures

IA-32 architecture, IntelŪ 64 architecture

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