4. A program has a base CPI of 1. It is 50% r-type instructions, 30% load-stores, and 20% branches. 25% of r-type instructions follow a load instruction that they depend on. The branch predictor is...


4. A program has a base CPI of 1. It is 50% r-type instructions, 30% load-stores, and 20% branches. 25% of r-type<br>instructions follow a load instruction that they depend on. The branch predictor is 70% accurate. There is a 1-cycle<br>penalty for data hazards, and a 3-cycle penalty for mis-predicted branches. What is the CPI of the program?<br>

Extracted text: 4. A program has a base CPI of 1. It is 50% r-type instructions, 30% load-stores, and 20% branches. 25% of r-type instructions follow a load instruction that they depend on. The branch predictor is 70% accurate. There is a 1-cycle penalty for data hazards, and a 3-cycle penalty for mis-predicted branches. What is the CPI of the program?

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here