Exam #3 Review Part 1 Flashcards

Pipelining and Advacned Processors Review

1
Q

Instruction Latency vs Throughput

A

Instruction Latency: The inherent execution time for an instruction

Throughput: Also called bandwidth. Another measure of performance, it is the number of tasks completed per unit time.

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

Pipeline Stages

A

Stage 1: IF(Instruction Fetch)
-IM

Stage 2: ID(Instruction Decode)
-Reg(Read)

Stage 3: EX(Execute)
-ALU

Stage 4: MEM(Data Memory Access)
-DM

Stage 5: WB(Write-Back)
-Reg(Write)

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

Clock Cycles

A

The time for one clock period, usually of the processor clock, which runs at a constant rate.

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

Hazards

A

Data Hazard

  • Also called a pipeline data hazard
  • When a planned instruction can’t execute in proper clock cycle because data that is needed to execute the instruction is not yet available.

Branch Hazard

  • Control Hazard
  • When proper instruction can’t execute in proper pipeline clock cycle because instruction that was fetched is not one that’s needed. Flow of instruction addresses is not what pipeline expected.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Superscalar Processors

A

An advanced pipelining technique that enables to execute more than one instruction per clock cycle by selecting them during execution.

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