Share
Explore BrainMass

Pipelining

1. Give a unique example of when you use pipelining at home (excluding laundry), at play, or at work.

2. When does pipelining not offer a benefit?

3. How does branch prediction, forwarding, and stalls help make a computer faster?

Solution Preview

1. Give a unique example of when you use pipelining at home (excluding laundry), at play, or at work.

An instruction pipeline is a technique used in the design of microprocessors and other digital electronic devices to increase their performance. Pipelining reduces cycle time of a processor and hence increases instruction throughput, the number of instructions that can be executed in a unit of time.

Example 1
For instance, a typical instruction to add two numbers might be ADD A, B, C, which adds the values found in memory locations A and B, and then puts the result in memory location C. In a pipelined processor the pipeline controller would break this into a series of instructions similar to:

LOAD A, R1
LOAD B, R2
ADD R1, R2, R3
STORE R3, C
LOAD next instruction
The R locations are registers, temporary memory inside the CPU that is quick to access. The end result is the same, the numbers are added and the result placed in C, and the time taken to ...

$2.19