Skip to main content

Optimizing SPU Programs

  • Chapter
  • First Online:
  • 550 Accesses

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

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD   169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sandeep Koranne .

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics