Xspace, Xtarget= t – HP SunSoft Pascal 4.0 User Manual

Page 86

Advertising
background image

62

Pascal 4.0 User’s Guide

3

-xspace

(Solaris 2.x only) The

-xspace

option does no optimizations that increase the

code size.

Example: Do not unroll loops.

-xtarget=

t

(Solaris 2.x only) The

-xtarget=

t option specifies the target system for the

instruction set and optimization.

t must be one of:

native

,

generic

, system-name.

The

-xtarget

option permits a quick and easy specification of the

-xarch

,

-xchip

, and

-xcache

combinations that occur on real systems. The only

meaning of

-xtarget

is in its expansion.

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

Table 3-8

The

-xtarget

Values

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=generic

to:

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

This is the default value.

system-name

Get 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.

Advertising