Pipelining Flashcards

1
Q

Simple pipeline stages

A

Fetch, decode, execute, memory, writeback

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

In-order pipeline

A

when instructions go through the execute stage in program order

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

Data hazard

A

RAW, WAR, WAW. When two instructions are accessing the same value or address. Error caused by data dependencies.

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

Control hazard

A

when the execution of one instruction determines if another instruction is executed or not. (taken/not taken).

let’s say a program doesn’t run in sequential order of its instructions. Now what?

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

Dependency vs hazard

A

dependency is how two instructions are related, hazard is the problem or wrong execution that arises when two instructions are dependent.

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

Data stall vs propagated stall

A

data stall is when an instruction waits to enter a stage to avoid a data hazard. Propagated stall is when an instruction can’t fetch because the previous instruction has not executed yet.

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

Bypassing/Forwarding

A

forwarding data directly to the input port to the stage it is used. Like execution, memory or writeback.

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

Control Speculation

A

predict the result of a branch instruction. (taken/ not taken?)

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