Sun Microsystems SC5.0 flags for CPU2000: ----------------------------------------- -e (f90) Extend source line maximum length to 132 characters. -fixed (f90) Assume fixed-format source input. -library=iostream,no%Cstd (C++) Use libiostream, the classic iostreams library. -xprofile Profile feedback optimization. -fast Selects the optimum combination of compilation options for speed. This should provide close to the maximum performance for most realistic applications. These options are turned on for -fast: -xtarget=native -xO4 -fns -fsimple=1 (SPARC) -dalign (SPARC) -ftrap=%none -xlibmil -fsingle -xtarget=native -xtarget itself is a macro option which acts like a macro expansion on the command line for the -xarch -xchip and -xcache options. Native gets the best performance on the host system. -xarch=v8plusa Specifies the set of instructions the compiler may use. v8plusa limits the instruction set to the V8plusa version of the V9 architecture and version 1.0 of the Visual Instruction Set (VIS). -xcache Defines the cache properties for use by the optimizer. -xchip Specifies the target processor for use by the optimizer. -fns Select SPARC nonstandard floating point. -ftrap=%none This option sets the IEEE 754 trapping modes that are established at program initialization. -dalign Allows the compiler to generate double-word load/store instructions -fsimple Allows the optimizer to make simplifying assumptions concerning floating-point arithmetic. I.e. Favor optimization over strict conformance to IEEE 754. E.g. NaN*0 may be replaced by 0. -fsingle Causes the compiler to evaluate float expressions as single precision, rather than double precision. -xlibmil Inlines some library routines for faster execution. -xO1 Does basic local optimization (peephole). -xO2 Does basic local and global optimization. -xO3 Performs like -xO2 but, also optimizes references or definitions for external variables. Loop unrolling and software pipelining are also performed. -xO4 Performs like -xO3 but, also does automatic inlining of functions contained in the same file. -xO5 Generates the highest level of optimization. Uses optimization algorithms that take more compilation time or that do not have as high a certainty of improving execution time.