Chapter

Handbook of Signal Processing Systems

pp 575-601

Date:

C Compilers and Code Optimization for DSPs

  • Björn FrankeAffiliated withSchool of Informatics, Informatics Forum, University of Edinburgh Email author 

* Final gross prices may vary according to local VAT.

Get Access

Abstract

Compilers take a central role in the software development tool chain for any processor and enable high-level programming. Hence, they increase programmer productivity and code portability while reducing time-to-market. The responsibilities of a C compiler go far beyond the translation of the source code into an executable binary and comprise additional code optimization for high performance and low memory footprint. However, traditional optimizations are typically oriented towards RISC architectures that differ significantly from most digital signal processors. In this chapter we provide an overview of the challenges faced by compilers for DSPs and outline some of the code optimization techniques specifically developed to address the architectural idiosyncrasies of the most prevalent digital signal processors on the market.