------------------------------------------------------------------ Descriptions of options used by HP for SPEC95 April 96 Newsletter: ------------------------------------------------------------------ +Ae Enable ANSI compatibility mode with UNIX extensions. -D Set definition for preprocessor. -Wl,-a,archive Link with archive format libraries rather than shared. +O1 Perform optimizations within basic blocks only. +O2 Perform +O1 optimizations. In addition perform global optimizations at the procedure level. (Same as -O.) +O3 Perform +O2 optimizations as well as interprocedural global optimizations within a file (including inlining and cloning). +O4 Perform +O3 optimizations. Linker also applies interprocedural optimizations across all files of the program. +O[no]fastaccess Generate [do not generate] short pointer code sequence for global variable accesses. +O[no]limit Do not limit optimization by compile-time considerations. +O[no]parallel Transform [do not transform] eligible loops for parallel execution on multiprocessor machines. +O[no]parmsoverlap Assume that multiple reference parameters do [do not] refer to overlapping memory items. +Oaggressive Apply aggressive optimizations which include scheduling on procedure entry and exit code, replacing standard library calls with inlined code sequences, no auto-initialization of uninitialized local scalar non-static variables, and scheduling beyond basic block boundaries. +Oall Apply all optimizations that would be enabled by specifying +O4, +Oaggressive, and +Onolimit on the same command line. Detailed options countermanding components of +Oall overrride that component. +DA Generate code for the architecture specified. +P/+I Optimize/Instrument for profile based optimization.