Rupert Brauch
Getting Peak Olympus Performance Using the Studio 12 Compilers
The new Sun Studio 12 compilers have been optimized to produce the best performance for SPARC64-VI binaries. It is possible to achieve gains of 30% or more over binaries compiled with the Studio 11 compilers.
We recommend using the following options when compiling for SPARC64-VI:
-xchip=sparc64vi
Generate code that is tuned for SPARC64-VI. The binary will run on any SPARC processor, but will perform best on a SPARC64-VI system.
-xarch=sparcfmaf -fma=fused
Both of these options are necessary to enable the usage of the new fused multiply add instructions. The binary will only run on SPARC64-VI, and any future SPARC systems that support the fused multiply add instructions. These instructions improve the performance of some floating point programs.
-xtarget=sparc64vi
A combination of -xchip=sparc64vi and -xarch=sparcfmaf. It is still necessary to use -fma=fused to enable fused multiply add instructions.
Posted at 10:52AM May 16, 2007 by rupertb in Sun | Comments[1]
I compiled a new binary using these CC Flags: "-KPIC -xchip=sparc64vi -xarch=sparcfmaf -m64 -fma=fused -xcode=abs32 -DEOS_SUN -DEOS_UNIX"
Yet a file command showed this:
"ELF 64-bit MSB executable SPARCV9 Version 1, UltraSPARC1 Extensions Required, dynamically linked, not stripped"
According to your blog this should not be executable on anything less than a Sparc64VI yet this binary ran just fine on a Sparc IIIi. Am I missing something?
I want to be sure that we are getting all the new performance enhancements
Posted by David Brossard on December 05, 2007 at 11:20 AM PST #