4-1
Pipeline
This chapter explains the operation of the C28x instruction pipeline. The pipe-
line contains hardware that prevents reads and writes at the same register or
data-memory location from happening out of order. However, you can in-
crease the efficiency of your programs if you take into account the operation
of the pipeline. In addition, you should be aware of two types of pipeline con-
flicts the pipeline does not protect against and how you can avoid them (see
section 4.5).
For more information about the instructions shown in examples throughout
this chapter, see Chapter 6, C28x Assembly Language Instructions.
Topic Page
4.1 Pipelining of Instructions 4-2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.2 Visualizing Pipeline Activity 4-7. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.3 Freezes in Pipeline Activity 4-10. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.4 Pipeline Protection 4-12. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
4.5 Avoiding Unprotected Operations 4-16. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Chapter 4