Pipeline and Vector Processing Q.11

0. Consider a 4 stage pipeline processor. The number of cycles needed by the four instructions 11, 12, 13, 14 in stage S1, S2, S3, S4 is shown below :

 S1S2S3S4
I12111
I21322
I32113
I41222
What is the number of cycles needed to execute the following loop ?
for (i = 1 to 2) {I1; I2; I3; I4;}

  • Option : D
  • Explanation :
    pipelining

    1st time for loop required is cycle and again second time 15 cycle
    So, total = 30 cycle
Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *