GATE - 2004 | OS | Consider a pipeline processor with 4 stages s1 to s4. we want to

GATE - 2004 | OS | Consider a pipeline processor with 4 stages s1 to s4. we want to
Posted on 21-02-2022

GATE - 2004 [Operating System]

Question

Consider a pipeline processor with 4 stages s1 to s4. we want to execute the following loop

for (i = 1; i < = 1000; i++) 
    {I1, I2, I3, I4} 

Where the time taken in ns by instructions I1 to I4 for stage S1 to S4 are given  

Consider a pipeline processor with 4 stages s1 to s4. we want to execute the following loop fro (i=1:i<=1000: i++) {I1,I2,I3,I4} Where rhe time taken in ns by

The outout of I1 for i=2 will be avaliable after  

A

11 ns

B

12 ns

C

13 ns

D

28 ns

   

Solution:

Option (C) is Correct.

Consider a pipeline processor with 4 stages s1 to s4. we want to execute the following loop fro (i=1:i<=1000: i++) {I1,I2,I3,I4} Where rhe time taken in ns by
So, total time would be 13 ns.

Thank You

Download App for Free PDF Download

GovtVacancy.Net Android App: Download

government vacancy govt job sarkari naukri android application google play store https://play.google.com/store/apps/details?id=xyz.appmaker.juptmh