Question: Draw out how the following code is run step - by - step with freezing. What is the CPI? Use t attach line paper. (

Draw out how the following code is run step-by-step with freezing. What is the CPI? Use t attach line paper. (10 pts)
ADD R1, R2, R3
ADD R4, R5, R6 LW R7,+4(R1)
SW +8(R4), R7
XOR R2, R7, R8
AND R3, R2, R7
2. Draw out how the following code is run step-by-step with forwarding. What is the Cr the attach line paper (10 pts)
LW R1,+0(RS)
LW R2,+4(R5)
ADD R3, R1, RZ ADD R4, R3, R2 LW R5,+0(R4)
XOR R7, R4, R5
3. What is the CPI for pipeline with the following conditions? Using Forwarding (10
Hazard type
%
Jumps
30
Branches (Taken)
10
RAW (combined load-alu, load-store)
20
I, Jalyn sinciair state that all the work done in this exam is my own work. I am sheet, 4) notes from class, id not cheat by using: 1) help from another student, 2) use of a computer, 3) a cheat
1. Draw out how the following code is run step-by-step with freezing. What is the CPI? Use attach line paper. (10 pts)
ADD R1, R2, R3
ADD R4, R5, R6
LW R7,+4(R1)
SW +8(R4), R7
XOR R2, R7, R8
AND R3, R2, R7
2. Draw out how the following code is run step-by-step with forwarding. What is the CF the attach line paper (10 pts)
LW R1,+O(R5)
LW R2,4R5
ADD R3, R1, R2
ADD R4, R3, R2
LW R5,+O(R4)
XOR R7, R4, R5
3. What is the CPI for pipeline with the following conditions? Using Forwarding (10
Draw out how the following code is run step - by

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!