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
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 |
| architecture. model can be one of the following: |
| • |
| • A model number (for example, 750 or 870). |
| • One of the |
| PA7000, PA7100, or PA8000). |
| • The word portable to generate code compatible |
| across all |
| servers. |
| nl |
| For information about using this option, see “Compiling |
| |
|
|
+DSmodel | Perform instruction scheduling appropriate for a specific |
| implementation of the |
| one of the following: |
| • |
| • A model number (for example, 750 or 870). |
| • One of the |
| PA7000, PA7100, or PA8000). |
| nl |
| For information about using this option, see “Compiling |
| |
| 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