The use of pipelining in a processor to improve efficiency Flashcards
What is pipelining?
Pipelining is the process of completing the fetch, decode, and execute cycles of three
separate instructions simultaneously, holding appropriate data in a buffer in close proximity
to the CPU until it’s required
What is the aim of pipelining?
Pipelining is aimed to reduce the amount of the CPU which is kept idle
What is instruction pipelining?
Separating out the instruction into fetching, decoding, and executing.
What is arithmetic pipelining?
Breaking down the arithmetic operations and overlapping them as they are performed
0 LDA &7 1 ADD #4 2 OUT 3 HLT 4 6 5 2 Explain how pipelining would help a CPU execute the code more quickly
Pipelining would allow one instruction to be fetched as the previous one is being decoded and the one before that is being executed
- e.g. OUT could be fetched as there are no jump/branch instructions, it pipelines well (as there is no need to flush the pipeline)