Sun Studio 12: C++ User's Guide

A.2.115 -xchip=c

Specifies target processor for use by the optimizer.

The –xchip option specifies timing properties by specifying the target processor. This option affects:

A.2.115.1 Values

c must be one of the following values.

Table A–28 The -xchip Values

Platform  

Value 

Optimize for Using Timing Properties  

SPARC 

generic

For good performance on most SPARC processors 

 

native

For good performance on the system on which the compiler is running 

 

old

Of processors earlier than the 

SuperSPARC processor 

 

sparc64vi

Of the SPARC64 VI processor 

 

super

Of the SuperSPARC processor 

 

super2

Of the SuperSPARC II processor 

 

micro

Of the microSPARC processor 

 

micro2

Of the microSPARC II processor 

 

hyper

Of the hyperSPARC processor 

 

hyper2

Of the hyperSPARC II processor 

 

powerup

Of the Weitek PowerUp processor 

 

ultra

Of the UltraSPARC processor 

 

ultra2

Of the UltraSPARC II processor 

 

ultra2e

Of the UltraSPARC IIe processor 

 

ultra2i

Of the UltraSPARC IIi processor 

 

ultra3

Of the UltraSPARC III processor 

 

ultra3cu

Of the UltraSPARC III Cu processor 

 

ultra3i

Of the UltraSparc IIIi processors. 

 

ultra4

Of the UltraSPARC IV processors. 

 

ultra4plus

Of the UltraSPARC IVplus processor. 

 

ultraT1

Of the UltraSPARC T1 processor. 

 

ultraT2

Of the UltraSPARC T2 processor. 

x86 

generic

Of most x86 processors 

 

pentium

Of the Intel Pentium processor 

 

pentium_pro

Of the Intel Pentium Pro processor 

 

pentium3

Of the Intel Pentium 3 style processor 

 

pentium4

Of the Intel Pentium 4 style processor 

Defaults

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