Targeting IA-64 Architecture Processors Automatically

The Intel compiler supports options that optimize application performance for Intel® Itanium® processors based on the IA-64 architecture.

Linux* OS

Windows* OS

Optimizes applications for...

-mtune=itanium2-p9000

/G2-p9000

Default. Dual-Core Intel® Itanium® 2 processor (9000 series)

-mtune=itanium2

/G2

Intel® Itanium® 2 processors

Note iconNote

Mac OS* X: These options are not supported.

While the resulting executable is backward compatible, generated code is optimized for specific processors; therefore, code generated with -mtune=itanium2-p9000 (Linux) or /G2-p9000 (Windows) will run correctly on Itanium® 2 processors.

The following examples demonstrate using the default options to target an Itanium® 2 processor (9000 series). The same binary will also run on Intel® Itanium® 2 processors.

Operating System

Example

Linux

ifort -mtune=itanium2-p9000 prog.f90

Windows

ifort /G2-p9000 prog.f90