GATE CS 2022 | Question 61

Computer Organization & Architecture › Pipelining · NAT · 2 marks · Answer: 1.42 to 1.45

  1. Question 61Computer Organization & Architecturenat2 marks
    X1 (2 GHz, 5-stage RISC, base CPI 1) runs P with 30% branches, each causing a 2-cycle stall. X2 (same clock) adds a predictor eliminating stalls for correct predictions (no effect on mispredictions). With 80% accuracy, the speedup (two decimals) of X2 over X1 on P is __________.

    Answer: 1.42 to 1.45

    Solution

    Answer: 1.43 X1 CPI (30% branches, 2-cycle stall each). X2 with 80% prediction accuracy: only the 20% mispredicted branches stall: CPI . Speedup (same clock).

More GATE PYQ on Pipelining

All GATE CS Computer Organization & Architecture PYQ →

Attempt GATE CS 2022 in real GATE exam mode

Full paper with a timer, the GATE interface and a topic-wise analysis — free.

Create free account →