Sun Studio 10 compiler options for amd64
By jmcp-Oracle on Apr 05, 2005
amd64 Compiler Options
One of the nifty things about Sun Studio 10 is that it includes a code generator for 64bit operation on amd64 (and ia32e) chips. I thought I'd see what results I could get when compiling my programming assignment in 64bit mode
All results below are from using timex(1) for the first million natural numbers.
gccis frequently used in HPC environments, one result of the popularity of linux-based supercomputers and no vendor compilers. Another thing that gcc is known for is darned good code generation on ia32 and suboptimal code on sparc (in some cases). I was surprised to see the gcc results above. Perhaps a gcc-savvy reader could suggest some more command line options which match Sun Studio's ---fast etc. I'm keen to find out.