Slide 69 of 97
Notes:
To gain a better understanding of what software pipelining is, let’s do a pipeline example.
In contrast to hardware pipelining, where we were working on different instructions in different stages of the pipeline, in software pipelining, we're going to be working on different iterations of the loop.
In this pipeline example code, we see a load in parallel with another load, then a multiply followed by an add.
How many cycles would it take to perform this loop 5 times, disregarding delay slots?