GATE Computer ScienceVery hardGATE CSE · NIELIT
In a pipeline with ideal CPI 1, 25% of instructions are loads and 40% of these are immediately followed by a dependent instruction (1 stall cycle even with forwarding). 20% of instructions are branches, 60% of which are taken and cost 2 extra cycles under a predict-not-taken scheme. What is the effective CPI?
- A. 1.34
- B. 1.44
- C. 1.24
- D. 1.60
Correct answer: A. 1.34
CPI = 1 + 0.25 × 0.4 × 1 + 0.2 × 0.6 × 2 = 1.34.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A fully associative cache with FIFO replacement sees the block references 1, 2, 3, 4, 1, 2, 5, 1, 2, 3, 4, 5. How many misses occur with 3…
- A virtually indexed cache is 64 KB, 4-way set-associative with 32-byte blocks, and pages are 4 KB. How many distinct page colours (values…
- In IEEE 754 single precision with round-to-nearest-even, the value 0.1 (itself rounded to single precision) is added to an accumulator…
- A 16 × 16 unsigned multiplier generates 16 partial products, which are reduced to two rows by a Wallace tree of 3:2 carry-save adders…
- A DMA controller moves a 4 KB block over a 64-bit bus clocked at 100 MHz. Each burst needs 10 cycles of arbitration and then transfers 64…
- A branch is executed 20 times with the outcome pattern T, T, T, N repeated 5 times. A 2-bit saturating counter (states 0–3, predicts taken…