Linked by Tony Bourke on Mon 23rd Feb 2004 21:54 UTC
Benchmarks In continuing with my articles exploring the my SPARC-based Sun Ultra 5, I'm going to cover the topic of compiler optimizations on the SPARC platform. While many are familiar with GCC compiler optimizations for the x86 platform, there are naturally differences for GCC on SPARC, and some platform-specific issues to keep in mind.
Permalink for comment
To read all comments associated with this story, please click here.
Other thoughts
by Leslie Donaldson on Tue 24th Feb 2004 00:37 UTC

Hello,
For those out there optimizing for Sparc and are writing code don't forget to limit the level of subrotine calls. Sparcs use a sliding register structure and if you get too deep in subroutine calls it will kill performance. One reason why unrolling loops may help your code (and inlines)

Donaldson