Question: For the MIPS pipeline we studies in class. Given a program that has the following instruction types: 2 0 % are loads, 2 0 %

For the MIPS pipeline we studies in class. Given a program that has the following instruction types: 20% are loads, 20% are stores, 20% are simple branch, 10% are complex branches and the remaining instructions are arithmetic. Based on this answer, the following: (each section is independent of the others) a. What is the impact of the structural hazards on the CPI assume one memory unit is used to store instructions and data. What is the real CPI in this case. Assume no other hazards, and the latest version of the MIPS pipeline. Show your work. b. What is the impact of the control hazards on the CPI assume 60% of the branches are not taken. What the real CPI in this case. Assume no other hazards. Show your work c. What is the impact of data hazards due to arithmetic instructions on the CPI when no forwarding is used assume 40% of the arithmetic instructions (i) produce result needed by the next instruction (i+1) only , and another 40% produce result needed by the instruction (i+2) only, and the other 20% produce results needed by (i+3) only. Show your work

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!