Table 4 Options for controlling optimization (continued)

Option

Function

+O[no]info

Provide [do not provide] feedback information about the

 

optimization process. This option is most useful at

 

optimization level 3 and higher. The default is +Onoinfo.

 

 

+O[no]optimization

Enable [disable] optimization, a predefined string that

 

indicates a category of optimizations (for example, those

 

that do not increase code size) or a specific optimization

 

technology (for example, inlining). See the HP Fortran

 

Programmer’s Reference, for the different values for

 

optimization.

The other component of the back end is the code generator (CodeGen), which you can control by using the command-line options in Table 1.5. These options allow you to specify (among other things) that the output file include debugging or profiling information or that local variables be saved in static memory.

Table 5 Options for controlling code generation

Option

Function

+[no]asm

Compile the named source files and leave [do not leave]

 

the assembly language output in corresponding files whose

 

names are suffixed with .s. The default is +noasm.

 

 

+DAmodel

Generate code for a specific version of the PA-RISC

 

architecture. model can be one of the following:

 

PA-RISC version number (1.1 or 2.0).

 

A model number (for example, 750 or 870).

 

One of the PA-RISC processor names (for example,

 

PA7000, PA7100, or PA8000).

 

The word portable to generate code compatible

 

across all PA-RISC 1.1 and 2.0 workstations and

 

servers.

 

nl

 

For information about using this option, see “Compiling

 

for different PA-RISC machines” (page 58).

 

 

+DSmodel

Perform instruction scheduling appropriate for a specific

 

implementation of the PA-RISC architecture. model can be

 

one of the following:

 

PA-RISC version number (1.1 or 2.0).

 

A model number (for example, 750 or 870).

 

One of the PA-RISC processor names (for example,

 

PA7000, PA7100, or PA8000).

 

nl

 

For information about using this option, see “Compiling

 

for different PA-RISC machines” (page 58).

 

On Itanium processor family architecture, the defined values

 

for model are:

 

blended: tune for best performance on a combination

 

of processors (i.e., Itanium or Itanium 2 processor). This

 

is the Itanium architecture default.

 

itanium: tune for best performance on an Itanium

 

processor.

 

itanium2: tune for best performance on an Itanium 2

 

processor.

 

native: tune for best performance on the processor on

 

which the compiler is running.

 

 

14 An overview of HP Fortran