Consider a pipeline processor with 4 stages S1 to S4. We want to execute the…
GATE · 2004 · IT
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}
The time taken (in ns) by instructions I1 to I4 for stages S1 to S4 are given below:
S1 S2 S3 S4
I1 1 2 1 2
I2 2 1 2 1
I3 1 1 2 1
I4 2 1 2 1
The output of I1 for i = 2 will be available after
- A.
11 ns
- B.
12 ns
- C.
13 ns
- D.
28 ns
Attempted by 16 students.
Sign up free to check your answer
Sign up freeLoading lesson…