Lecture 2 - Parallel Programming Platforms (Part I) - Updated - 2021
Lecture 2 - Parallel Programming Platforms (Part I) - Updated - 2021
(PART 1)
Limitations of pipelining:
◦ The speed of a pipeline is eventually limited by the slowest stage.
◦ Pipeline can cause bottlenecks.
In the fourth clock cycle (the green column), the earliest instruction is in
MEM stage, and the latest instruction has not yet entered the pipeline.
Superscalar execution:
The ability of a processor
to issue multiple
instructions in the same
cycle
Example of a two-way
superscalar execution
of instructions.
By fetching and
dispatching two
instructions at a time, a
maximum of two
instructions per cycle
can be completed.
If each processor has its own control unit, each processor can execute
different instructions on different data items. This model is called
multiple instruction stream, multiple data stream (MIMD).
29
30
31
32
33
34
38
(a) (b)
Lecture 3:
Parallel Platforms (Part 2)