Pipeline Performance
A processor has a 5-stage pipeline operating at a clock frequency of 2.0 GHz. Branch instructions account for 20% of all instructions. The branch predictor correctly predicts 80% of these branches. A misprediction incurs a 2-cycle penalty. Assuming a base CPI (Cycles Per Instruction) of 1.0 for non-branch and correctly predicted branch instructions, what is the total execution time for a program with 1,000,000 instructions?
