6

Optimizing DSP Software

Introduction

Many of today’s DSP applications are subject to real-time constraints. Many embedded DSP applications will eventually grow to a point where they are stressing the available CPU, memory or power resources. Understanding the workings of the DSP architecture, compiler and application algorithms can speed up applications, sometimes by an order of magnitude. This chapter will summarize some of the techniques that can improve the performance of your code in terms of cycle count, memory use and power consumption.

What Is Optimization?

Optimization is a procedure that seeks to maximize or minimize one or more performance indices. These indices include:

• Throughput (execution speed)

• Memory usage

• I/O bandwidth ...

Get DSP Software Development Techniques for Embedded and Real-Time Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.