CPI
A 5-stage scalar pipeline has an ideal CPI of 1.0. The instruction mix consists of 20% branch instructions and 30% load instructions. Every branch suffers a 2-cycle branch penalty. Additionally, 50% of the load instructions are immediately followed by a dependent instruction, causing a 1-cycle data hazard stall. What is the actual CPI of this pipeline?
