Specify target processor for the optimizer.
This option specifies timing properties by specifying the target processor.
Although this option can be used alone, it is part of the expansion of the–xtarget option; it is provided to allow overriding a -xchip value implied by the a specific -xtarget option.
Some effects of -xchip=c are:
Instruction scheduling
The way branches are compiled
Choice between semantically equivalent alternatives
The following tables list the valid -xchip processor name values:
Table 3–15 Common –xchip SPARC Processor Names
-xchip= |
Optimize for: |
---|---|
generic |
most SPARC processors. (This is the default.) |
native |
this host platform. |
sparc64vi |
SPARC64 VI processor |
ultra |
UltraSPARC processor. |
ultra2 |
UltraSPARC II processor. |
ultra2e |
UltraSPARC IIe processor. |
ultra2i |
UltraSPARC IIi processor. |
ultra3 |
UltraSPARC III processor. |
ultra3cu |
UltraSPARC IIIcu processor. |
ultra3i |
UltraSPARC IIIi processor |
ultra4 |
UltraSPARC IV processor |
ultra4plus |
UltraSPARC IV+ processor |
ultraT1 |
UltraSPARC T1 processor |
ultraT2 |
UltraSPARC T2 processor |
On x86 platforms: the -xchip values are pentium, pentium_pro, pentium3, pentium4, generic, opteron, and native.