GATE Computer ScienceVery hardGATE CS
A vector processor has one memory pipeline, one multiplier and one adder, 64-element vector registers and full chaining. Start-up latencies are 12 cycles (load/store), 7 (multiply) and 6 (add). The code is LV V1, A MULVS V2, V1, F0 LV V3, B ADDV V4, V2, V3 SV V4, C Instructions that can chain and use different units sit in the same convoy; a convoy takes (sum of start-ups of its instructions) + 64 cycles. How many cycles does the code take?
- A. 177
- B. 369
- C. 192
- D. 241
Correct answer: D. 241
Convoy 1: LV V1 with chained MULVS (12 + 7 + 64 = 83). The second LV needs the single memory pipe again, so convoy 2 is LV V3 with chained ADDV (12 + 6 + 64 = 82). SV needs the memory pipe once more: convoy 3 (12 + 64 = 76). Total 83 + 82 + 76 = 241.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A virtualised x86-64-style system translates a guest virtual address using a 4-level guest page table and a 4-level nested (host) page…
- How many distinct IEEE 754 single-precision numbers x satisfy 0.5 ≤ x ≤ 4 (counting both endpoints)?
- A fully associative cache (or page frame pool) of k lines has to serve the reference string 6, 5, 5, 7, 4, 6, 5, 2, 2, 6, 5, 7, 3, 2, 4…
- A fully associative cache has 3 lines (one word each). The reference string 2, 3, 2, 1, 5, 2, 4, 5, 3, 2, 5, 2, 6, 1, 3, 6, 2, 5, 1, 4 is…
- A DDR-style DRAM needs tRP = tRCD = CL = 15 ns, and a burst that fills one cache line takes 10/3 ns. A row-buffer hit costs CL + burst; a…
- A write-back, write-allocate cache is direct mapped with 4 lines of one word (line = address mod 4). Starting empty, it serves these…