3

Example: -xcache=16/32/4:1024/32/1specifies the following:

Level 1 cache has:

Level 2 cache has:

16K bytes

1024K bytes

32 bytes line size

32 bytes line size

4-way associativity

Direct mapping associativity

-xchip=c

(Solaris 2.x only) The -xchip=coption specifies the target processor for use by the optimizer.

c must be one of: generic, old, super, super2, micro, micro2, hyper, hyper2, powerup, ultra

Although this option can be used alone, it is part of the expansion of the - target option; its primary use is to provide a value supplied by the -targetoption.

This option specifies timing properties by specifying the target processor.

Some effects are:

The ordering of instructions, that is, scheduling

The way the compiler uses branches

The instructions to use in cases where semantically equivalent alternatives are available

Table 3-5 The -xchipValues

Value Meaning

generic Use timing properties for good performance on most SPARCs.

This is the default value that directs the compiler to use the best timing properties for good performance on most SPARC processors, without major performance degradation on any of them.

old Use timing properties of pre-SuperSPARC™ processors.

super Use timing properties of the SuperSPARC chip.

super2 Use timing properties of the SuperSPARC II chip.

micro Use timing properties of the MicroSPARC™ chip.

54

Pascal 4.0 User’s Guide

Page 78
Image 78
HP SunSoft Pascal 4.0 manual Xchip=c, Example -xcache=16/32/41024/32/1specifies the following