Processor Types and Instruction Sets Flashcards

1
Q

Execution pipeline is a ____ optimization technique.

It allows ___ in ___.

A

Hardware; execution of instructions; parallel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Execution pipeline are used by ___ architectures.

RISC/CISC?

A

RISC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

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

A

D.

Each instruction takes one clock cycle once the pipeline is full

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

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

A.

The pipeline is executed by the processor without the programmers intervention

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Reasons of a pipe stall:-

  1. Access to ___
  2. Call an ___ that takes long time eg. FP arithmetic
  3. Branch to ___
  4. Call a ___
A

RAM; instruction; new location; function

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

To minimize stalls:-
Avoid introducing ___
Delay references to ___

A

unnecessary branches;

result registers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly