Branch Flush Penalty
A 5-stage classic RISC pipeline (IF, ID, EX, MEM, WB) has full operand forwarding implemented. A branch instruction is resolved in the EX stage. The instruction mix is 20% branches, of which 60% are taken. What is the overall CPI (Cycles Per Instruction) assuming a base CPI of 1.0 and no other hazards?
