GATEverse
← GATE CSE 2022

Q51

NAT2 marks

A processor X1\text{X}_{1} operating at 2  GHz2 \; \text{GHz} has a standard 5−5-stage RISC\text{RISC} instruction pipeline having a base CPI (cycles per instruction)\text{CPI (cycles per instruction)} of one without any pipeline hazards. For a given program P\text{P} that has 30%30 \% branch instructions, control hazards incur 22 cycles stall for every branch. A new version of the processor X2\text{X}_{2} operating at same clock frequency has an additional branch predictor unit (BPU)\text{(BPU)} that completely eliminates stalls for correctly predicted branches. There is neither any savings nor any additional stalls for wrong predictions. There are no structural hazards and data hazards for X1\text{X}_{1} and X2.\text{X}_{2}. If the BPU\text{BPU} has a prediction accuracy of 80%,80 \%, the speed up (rounded off to two decimal places)\textit{(rounded off to two decimal places)} obtained by X2\text{X}_{2} over X1\text{X}_{1} in executing P\text{P} is _______________.

Sign in to save attempts.

Loading…