| United States-English |
|
|
|
![]() |
HP Itanium-based Systems: HP aC++/HP C Programmer's Guide > Chapter 2 Command-Line OptionsPerformance Options |
|
The HP compiler provides a variety of options to help improve build and runtime performance. These options are: -fast The -fast option selects a combination of optimization options for optimum execution speed and reasonable build times. This option is equivalent to +Ofast. Currently chosen options are:
You can override any of the options in -fast by specifying a subsequent option after it. Use this option when porting C++ and C applications compiled on other UNIX operating systems to HP-UX.
+Ofast The +Ofast option selects a combination of optimization options for optimum execution speed for reasonable build times. Currently chosen options are:
This option is a synonym for -fast.
+Ofaster The +Ofaster option is equivalent to +Ofast with an increased optimization level. If used with +Oprofile=use, the optimization level will be +O4. Otherwise it will be +O3. The definition of +Ofaster may change or it may be deprecated in future releases. +[no]srcpos The +[no]srcpos option controls the generation of source position information for the Caliper. The default is +srcpos. When +srcpos, is in effect, the compiler generates source position information. When +nosrcpos is in effect, the compiler does not generate this information and the compiler instructs the linker to discard any of this information found in the object files. +DSmodel The +DSmodel option performs instruction scheduling for a particular implementation of the Itanium®-based architecture. The default is blended. model can be either of the following four values.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||