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

Draw out how the following code is run step-by-step with freezing. What is the CPI? Use 1 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 Cl the attach line paper (10 pts)
LW R1,+0(R5)
LW R2,+4(R5)
ADD R3, R1, R2
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

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!