|  |  | 
| -fast | Selects the optimum combination of compilation options for speed of executable code. | 
| -fma | Enables automatic generation of floating-point fused multiply-add instructions. | 
| -library=sunperf | Links with the Sun Performance Library. | 
| -p | Prepares the object code to collect data for profiling. | 
| -xalias_level | Enables the compiler to perform type-based alias analysis and optimizations. | 
| -xannotate | (Oracle Solaris) Instructs the compiler to create binaries that can be used by the
optimization and observability tools binopt(1),
code-analyzer(1), discover(1), collect(1),
and uncover(1). | 
| -xbinopt | Prepares the binary for later optimizations, transformations and analysis. | 
| -xbuiltin | Improves the optimization of code that calls standard library functions. | 
| -xdepend | Analyzes loops for inter-iteration data dependencies and does loop restructuring. | 
| -xF | Enables reordering of data and functions by the linker. | 
| -xglobalize | Controls globalization of file static variables but not functions. | 
| -xhwcprof | (SPARC) Enables compiler support for hardware counter-based profiling. | 
| -xinline | Tries to inline only those functions specified. | 
| -xinline_param | Manually changes the heuristics used by the compiler for deciding when to inline a function
call. | 
| -xinline_report | Generates a report written to standard output on the inlining of functions by the
compiler. | 
| -xinstrument | Compiles and instruments your program for analysis by the Thread Analyzer. | 
| -xipo | Performs whole-program optimizations by invoking an interprocedural analysis component. | 
| -xipo_archive | Allows crossfile optimization to include archive (.a) libraries. | 
| -xipo_build | Reduces compile time by avoiding optimizations during the initial pass through the compiler,
optimizing only at link time. | 
| -xkeepframe | Prohibits stack related optimizations for the named functions. | 
| -xjobs | Sets how many processes the compiler creates. | 
| -xlibmil | Inlines some library routines for faster execution. | 
| -xlic_lib=sunperf | Obsolete. Use -library=sunperf to link to the Sun Performance
Library. | 
| -xlinkopt | Performs link-time optimizations on relocatable object files. | 
| -xlibmopt | Enables library of optimized math routines. | 
| -xmaxopt | Limits the level of pragma
opt to the level specified. | 
| -xnolibmil | Does not inline math library routines. | 
| -xnolibmopt | Does not enable library of optimized math routines. | 
| -xO | Optimizes the object code. | 
| -xnorunpath | Prevents inclusion of a runtime search path for shared libraries in the executable. | 
| -xpagesize | Sets the preferred page size for the stack and the heap. | 
| -xpagesize_stack | Sets the preferred page size for the stack. | 
| -xpagesize_heap | Sets the preferred page size for the heap. | 
| -xpch | Reduces compile time for applications whose source files share a common set of include
files. | 
| –xpec |  Generates a Portable Executable Code (PEC) binary which can be used with additional tuning
and troubleshooting. | 
| -xpchstop | Can be used in conjunction with -xpch to specify the last include file of
the viable prefix. | 
| -xprefetch | Enables prefetch instructions. | 
| -xprefetch_level | Controls the aggressiveness of automatic insertion of prefetch instructions as set by
-xprefetch=auto | 
| -xprefetch_auto_type | Controls how indirect prefetches are generated. | 
| -xprofile | Collects data for a profile or uses a profile to optimize. | 
| -xprofile_ircache | Improves compilation time of -xprofile=use phase by reusing compilation
data saved from the -xprofile=collect phase. | 
| -xprofile_pathmap | Support for multiple programs or shared libraries in a single profile directory. | 
| -xrestrict | Treats pointer-valued function parameters as restricted pointers. | 
| -xsafe | (SPARC) Allows the compiler to assume no memory-based traps occur. | 
| -xspace | Does no optimizations or parallelization of loops that increase code size. | 
| -xthroughput | Specifies that the application will be run in situations where many processes are
simultaneously running on the system. | 
| -xunroll | Suggests to the optimizer to unroll loops n times. |