Abstract
In this chapter we discuss some of the automated tools we can use to optimize code for the Cell. We begin with the venerable gprof, and GCC’s branch probability framework. These include the command-line switches -fprobabilitygenerate and the -fprobability-use in recent versions of GCC. These tools are applicable not only to the Cell, but any modern processor with deep pipelines.We extend the assembly language inspection to include cycle counting methods; manually as well as using the spu-timing tool. The Assembly visualizer tool from IBM is also presented and we explain its usage. We conclude by presenting FDPRPRO, the automated post-link optimization tool for POWER from IBM.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsPreview
Unable to display preview. Download preview PDF.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2009 Springer Science+Business Media, LLC
About this chapter
Cite this chapter
Koranne, S. (2009). Optimizing SPU Programs. In: Practical Computing on the Cell Broadband Engine. Springer, Boston, MA. https://doi.org/10.1007/978-1-4419-0308-2_15
Download citation
DOI: https://doi.org/10.1007/978-1-4419-0308-2_15
Published:
Publisher Name: Springer, Boston, MA
Print ISBN: 978-1-4419-0307-5
Online ISBN: 978-1-4419-0308-2
eBook Packages: Computer ScienceComputer Science (R0)