Processor Types and Instruction Sets Flashcards
Execution pipeline is a ____ optimization technique.
It allows ___ in ___.
Hardware; execution of instructions; parallel
Execution pipeline are used by ___ architectures.
RISC/CISC?
RISC
Which of the following about execution pipeline is false?
A. Each stage operates in parallel with a different instruction
B. An N stage pipeline operates over N instructions simultaneously
C. Each stage takes one clock cycle
D. Each instruction takes one clock cycle regardless if the pipeline is full or not
D.
Each instruction takes one clock cycle once the pipeline is full
Which of the following about pipeline control is false?
A. The pipeline requires programmers intervention
B. The programmer can write code that can “stall” the pipeline
C. Pipe stall happens when the next instruction depends on the result of the previous instruction
A.
The pipeline is executed by the processor without the programmers intervention
Reasons of a pipe stall:-
- Access to ___
- Call an ___ that takes long time eg. FP arithmetic
- Branch to ___
- Call a ___
RAM; instruction; new location; function
To minimize stalls:-
Avoid introducing ___
Delay references to ___
unnecessary branches;
result registers