Siemens Nixdorf / Pyramid compiler flags for pyrC 5.0 (as of Nov. 1996) ======================================================================= The following is a list of short explanations of compiler/linker flags used for the Oct./Nov. 1996 SPEC CINT95 result submissions for Siemens Nixdorf / Pyramid RM systems (RM400-C90, RM600-E20/-E60). 1. Compiler Flags -WM,-Omips4 Performs all safe and generally applicable optimizations including interprocedural optimizations, register allocation across function calls and feedback directed optimizations (function inlining, procedure positioning, branch elimination, procedure splitting, register allocation and cross basic block scheduling). This flag also directs the compiler to produce nonposition- independent code, to generate code using the instruction set of the MIPS4 ISA, to inline alloca, printf, memcpy, memset, memcmp, and memmove and to use U-code system libraries (these libraries represent the same system services as their regular counterparts, but in a form more suitable for interprocedural optimization). -WM,-G Specifies that data items smaller than bytes in size should be placed in the global data area and accessed using a faster addressing mode. -Wo,-loopunroll: Tells the optimizer to unroll loops times. -WM,-Omips4 sets to 8. -Wo,unrolllimit: is the limit on the number of instructions within a loop unrolled by the optimizer. -WM,-Omips4 sets to 2000. -Wg,-inline_limit: Sets a size threshold for inlining. A call will not be inlined if the resulting function (after inlining) exceeds basic blocks. Default is 500. -Wb,-prefetch,, This will insert prefetch instructions in loops if the loop appears to access memory in a serial fashion. Only loops which have at least iterations are considered. is the expected latency for fetches from memory in units of machine instruction cycle times. -WM,-Omips4 sets to 40 and to 400. -qfeedback Produce code that collects call graph and flow graph information suitable for feedback directed optimization. -WM,-profdir Specifies that profiling information should be written to and read from the directory . The default is subdirectory PROF of the source directory. 2. Linker Flags -dn This option is passed to ld. It specifies static linking in the link editor. 3. Portability Flags: -DI_TIME -DI_SYS_TIME Enables certain (SPEC-approved) source code parts via conditional compilation. 4. Questions? More details about these and other flags can be found in the appropriate documentation (manuals, release notes). Additional SPEC-specific questions can be directed to the Siemens Nixdorf SPEC representative Reinhold Weicker Siemens Nixdorf OEC HES PM4 33094 Paderborn Germany E-Mail: weicker.pad@sni.de 5. Caveat It is likely that future result submissions, if they use new compiler versions, will have different flags; then this flag description will be superseded by a new one. For results obtained, for older systems, with earlier compilers, see the earlier flag descriptions: http://www.specbench.org/osg/cpu95/flags/Siemens-*.txt and http://www.specbench.org/osg/cpu95/flags/Pyramid-*.txt