3

-xspace

(Solaris 2.x only) The -xspaceoption does no optimizations that increase the code size.

Example: Do not unroll loops.

-xtarget=t

(Solaris 2.x only) The -xtarget=toption specifies the target system for the instruction set and optimization.

tmust be one of: native, generic, system-name.

The -xtargetoption permits a quick and easy specification of the -xarch, -xchip, and -xcachecombinations that occur on real systems. The only meaning of -xtargetis in its expansion.

Table 3-8 The -xtargetValues

Value Meaning

native Get the best performance on the host system.

The compiler generates code for the best performance on the host system. It determines the available architecture, chip, and cache properties of the machine on which the compiler is running.

generic Get the best performance for generic architecture, chip, and cache.

The compiler expands -xtarget=genericto:

-xarch=generic -xchip=generic -xcache=generic

This is the default value.

system-nameGet the best performance for the specified system.

You select a system name from Table 3-9 that lists the mnemonic encodings of the actual system names and numbers.

The performance of some programs may benefit by providing the compiler with an accurate description of the target computer hardware. When program performance is critical, the proper specification of the target hardware could be

62

Pascal 4.0 User’s Guide