SPARC64 VI / "Olympus" processor compiler flags ?

Hello,Trying to understand if Sun Studio 11 or Studio 12 have any SPARC64 VI-specific compiler flags. Thanks in advance,Isaac
[153 byte] By [izfromsuna] at [2007-11-27 6:09:08]
# 1

Hi,

Studio 12 has specific flags for SPARC64 VI. Studio 11 does not.

The flag you want is :

-xtarget=sparc64vi

Also if you want to use the fused multiply-add instructions, say :

-fma=fused

This can greatly help floating point performance. Also, Sun Performance Library

has been tuned for this chip.

-Jeremy

jeremyweeka at 2007-7-12 17:12:32 > top of Java-index,Development Tools,Solaris and Linux Development Tools...