Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Parallel Programming Guide for HP-UX Systems: K-Class and V-Class Servers > Chapter 7 Controlling optimization

Command-line optimization options

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

This section lists the command-line optimization options available for use with the HP C, C++, and Fortran 90 compilers. Table 7-1 “Command-line optimization options” describes the options and the optimization levels at which they are used.

Table 7-1 Command-line optimization options

Optimization optionsValid optimization levels
Command-line options
+O[no]aggressive+O2, +O3, +O4
+O[no]allall
+O[no]autopar
(must be used with the +Oparallel option at +O3 or above)
+O3, +O4
+O[no]conservative+O2, +O3, +O4
+O[no]dataprefetch+O2, +O3, +O4
+O[no]dynsel
(must be used with the +Oparallel option at +O3 or above)
+O3, +O4
+O[no]entrysched+O1, +O2,+O3, +O4
+O[no]fail_safe+O1, +O2,+O3, +O4
+O[no]fastaccessall
+O[no]fltacc+O2, +O3, +O4

+O[no]global_ptrs_unique[=namelist]

(C only)

+O2, +O3, +O4
+O[no]infoall
+O[no]initcheck+O2, +O3, +O4
+O[no]inline[=namelist]+O3, +O4
+Oinline_budget=n+O3, +O4
+O[no]libcallsall
+O[no]limit+O2, +O3, +O4
+O[no]loop_block+O3, +O4
+O[no]loop_transform+O3, +O4
+O[no]loop_unroll[=unroll_factor]+O2, +O3, +O4
+O[no]loop_unroll_jam+O3, +O4
+O[no]moveflops+O2, +O3, +O4
+O[no]multiprocessor+O2, +O3, +O4
+O[no]parallel+O3, +O4
+O[no]parmsoverlap+O2, +O3, +O4
+O[no]pipeline+O2, +O3, +O4
+O[no]procelimall
+O[no]ptrs_ansi+O2, +O3, +O4
+O[no]ptrs_strongly_typed+O2, +O3, +O4

+O[no]ptrs_to_globals[=namelist]

(C only)

+O2, +O3, +O4
+O[no]regreassoc+O2, +O3, +O4
+O[no]report[=report_type]+O3, +O4
+O[no]sharedgra+O2, +O3, +O4

+O[no]signedpointers

(C/C++ only)

+O2, +O3, +O4
+O[no]size+O2, +O3, +O4
+O[no]static_predictionall
+O[no]vectorize+O3, +O4
+O[no]volatile+O1, +O2, +O3, +O4
+O[no]whole_program_mode+O4

 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.