|
Option |
Action |
|---|---|
|
–fast |
Selects a combination of compilation options for optimum execution speed for some programs. |
|
-fma |
(SPARC) Enables automatic generation of floating-point, fused, multiply-add instructions. |
|
-g |
Instructs both the compiler and the linker to prepare the program for performance analysis (and for debugging). |
|
–s |
Strips the symbol table out of the executable. |
|
-m32|-m64 |
Specifies the memory model for the compiled binary object. |
|
-xalias_level |
Enables the compiler to perform type-based alias analysis and optimizations. |
|
–xarch=isa |
Specifies target architecture instruction set. |
|
-xbinopt |
Prepares the binary for later optimizations, transformations and analysis. |
|
-xbuiltin[=opt] |
Enables or disables better optimization of standard library calls |
|
–xcache=c |
(SPARC) Defines target cache properties for the optimizer. |
|
–xcg89 |
Compiles for generic SPARC architecture. |
|
–xcg92 |
Compiles for SPARC V8 architecture. |
|
–xchip=c |
Specifies target processor chip. |
|
–xF |
Enables linker reordering of functions and variables. |
|
-xinline=flst |
Specifies which user-written routines can be inlined by the optimizer |
|
-xipo |
Performs interprocedural optimizations. |
|
–xlibmil |
Inlines selected libm library routines for optimization. |
|
–xlibmopt |
Uses a library of optimized math routines. |
|
–xlinkopt |
(SPARC) Performs link-time optimization on the resulting executable or dynamic library over and above any optimizations in the object files. |
|
–xmemalign=ab |
(SPARC) Specify maximum assumed memory alignment and behavior of misaligned data accesses. |
|
–xnolibmil |
Cancels– xlibmil on the command line. |
|
–xnolibmopt |
Does not use the math routine library. |
|
–xOlevel |
Specifies optimization level to level. |
|
–xpagesize |
Sets the preferred page size for the stack and the heap. |
|
-xpagesize_heap |
Sets the preferred page size for the heap. |
|
-xpagesize_stack |
Sets the preferred page size for the stack. |
|
-xprefetch[=lst] |
(SPARC) Enables prefetch instructions on architectures that support prefetch. |
|
-xprefetch_level |
Control the aggressiveness of automatic insertion of prefetch instructions as set by -xprefetch=auto |
|
–xprofile |
(SPARC) Collects or optimizes using runtime profiling data. |
|
–xregs=rlst |
(SPARC) Controls scratch register use. |
|
–xsafe=mem |
(SPARC) Allows no memory-based traps. |
|
–xspace |
(SPARC) Does not allow optimizations that increase code size. |
|
–xtarget=t |
Specifies a target instruction set and optimization system. |
|
–xthreadvar |
(SPARC) Changes the default thread-local storage access mode. |
|
–xunroll=n |
Enables unrolling of loops where possible. |
|
–xvis |
(SPARC) Enables compiler recognition of the assembly-language templates defined in the VISTM instruction set |