3.4.177 –xtarget=t

t must be one of: native, native64, generic, generic64, platform–name.

The -xtarget option permits a quick and easy
specification of the -xarch, -xchip,
and -xcache combinations that occur on real platforms.
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 very important. This is especially true when running on the newer SPARC
processors. However, for most programs and older SPARC processors, the performance
gain is negligible and a generic specification is sufficient.

The actual expansion of -xtarget values can change
from release to release. You can always determine the expansion that the compiler
will use with the -dryrun flag:

3.4.177.3 x86 Platforms

Compiling for 64-bit Solaris OS on 64-bit enabled x86 platform is indicated
by the -m64 flag. For example, compiling with -xtarget=opteron is not necessary or sufficient. If -xtarget is specified, the -m64 option must appear
after the -xtarget flag, as in: