5Software optimisation

5.1 Introduction

Software optimisation is the process of manipulating software code to achieve one or a combination of the following goals, depending on the application: faster code execution, smaller code size and low power consumption.

To implement efficient software on a multicore processor, the programmer must be familiar with the processor architecture (that includes the CPU, the memory and any peripheral or coprocessor to be used); the language(s) (i.e. C and assembly) used; the programming model to efficiently distribute software (tasks) across all cores, for example OpenMP (see Chapter 12) or OpenCL ...

Get Multicore DSP 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.