Question: 1 1 : 3 6 . cdn . fbsbx . com Done Given the following MIPS code. Show how the instructions will flow through the

11:36
.
cdn.fbsbx.com
Done
Given the following MIPS code.
Show how the instructions will flow through the pipeline: A. without Forwarding? B. With Forwarding?
Calculate CPI in both cases?
Assume the following initial values (in decimal):
$2=4,$3=6,$4=8,$8=16,$9=18,M[$0]=20,M[$4]=40,M[$9]=90,m[$10]=10.
What are the final values for the registers and updates to memory stored data in both cases?
What are the values of the 9-Pipeline Control signals during CC4 and CC-10? See slide-107 from course material.
A. With No Forwarding
123456789101112131415161718
lw $2,0($10) FDEMW
Add $9,$3,$2
Sub $2,$2,$9
Sw $2,4($9)
B. With Forwarding
123456789101112131415161718
lw $2,0($10) FDEMW
Add $9,$3,$2
Sub $2,$2,$9
Sw $2,4($9)
1 1 : 3 6 . cdn . fbsbx . com Done Given the

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 Programming Questions!