The GATE Grind

GATE 2009 CS – Question 28

Computer Organization and Architecture · Instruction Pipelining and Pipeline Hazards · 2 marks · Multiple choice

A four-stage pipeline requires the following cycles per instruction. How many cycles execute the loop?

InstructionS1S2S3S4
I12111
I21322
I32113
I41222
for (i = 1 to 2) { I1; I2; I3; I4; }
  1. 16
  2. 23
  3. 28
  4. 30

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (B) 23

Explanation

We are sorry we couldn't write detailed soluition for this, we are working on it!, please consider asking your own AI, its just 2-3 clicks with very minimum effort

More Instruction Pipelining and Pipeline Hazards questions

All Instruction Pipelining and Pipeline Hazards questions →