march

Tells the compiler to generate code excusively for a specified cpu.

IDE Equivalent

None

Architectures

IA-32

Syntax

Linux: -march=cpu
Windows:    None

Arguments

cpu      Is the cpu for which the compiler should generate code. Possible values are:
  pentiumpro Generates code for IntelŪ PentiumŪ Pro processors.
  pentiumii Generates code for Intel Pentium II processors.
  pentiumiii Generates code for Intel Pentium III processors.
  pentium4 Generates code for Intel Pentium 4 processors.

Default

OFF      The compiler does not generate cpu-exclusive code unless it is told to do so.

Description

This option tells the compiler to generate code excusively for a specified cpu. For compatibility purposes, a number of historical cpu values are also supported, but the generated code will not differ from the default.

Alternate Options

None