GATE Computer ScienceVery hardGATE CS (PYQ pattern)
A fully pipelined floating-point adder has latency 4 cycles and can start one addition every cycle; a dependent addition starts only when its inputs have finished. Eight numbers are summed (a) as a serial chain and (b) as a balanced tree whose four first-level additions start in consecutive cycles 1-4. Counting from the start of cycle 1, after how many cycles is each final sum available, as (chain, tree)?
- A. (16, 28)
- B. (28, 16)
- C. (28, 20)
- D. (28, 17)
Correct answer: B. (28, 16)
Chain: 7 dependent adds × 4 = 28 cycles. Tree: level-1 adds start in cycles 1-4 (finish at 5-8); level 2 starts at 6 and 8 (finish at 10, 12); the root starts at 12 and finishes at 16.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- Two branches share one 2-bit saturating counter (aliasing in a small predictor table): X is always taken, Y is never taken, and they…
- On a processor with base CPI 1.0, the L1 cache has 40 misses per 1000 instructions. Of these, 10 per 1000 instructions also miss in the L2…
- A physically tagged 64 KB, 4-way cache has 64-byte blocks, 48-bit physical addresses and 4 KB pages. How many tag bits does each line…
- In a custom 8-bit floating-point format there is 1 sign bit, 4 exponent bits (bias 7) and 3 fraction bits, with IEEE-like rules (exponent…
- A MIPS-like J instruction has a 26-bit field holding a word address; the target is formed from the top 4 bits of PC + 4, followed by the…
- A processor services interrupts with nested priorities: a higher-priority interrupt (larger number) preempts a running lower-priority…