Question: Iw $ 1 0 , 0 ( $ 1 1 ) add $ 9 , $ 1 1 , $ 1 0 sub $ 8

Iw $10,0($11)
add $9, $11, $10
sub $8, $10, $7
sw $7,4($8)
1
F
2
D
F
3
E
:Given the following 5-stages MIPS pipeline. Assume no forwarding
4
M
5
W
6
7
8
9
10
11
12
?Calculate the CPI for the given sequence of instructions: lw, add, sub, sw
2.75
1.75
1.25
2.0
?Calculate the CPI for the given instructions if the sequence becomes: lw, sub, add, sw
2.75
1.25
1.75
1.0
?What is the number of pipeline fill cycles
7
12
4
5
?What type of pipeline hazard exists between these four instructions
Control Hazard
Data Hazard
Strucural Hazard
Data and Control Hazard

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!