retagged by
6,866 views
31 votes
31 votes

If we use internal data forwarding to speed up the performance of a CPU (R1, R2 and R3 are registers and M[100] is a memory reference), then the sequence of operations

R1 → M[100]
M[100] → R2
M[100] → R3

can be replaced by

  1. R1 → R3
    R2 → M[100]
  2. M[100] → R2
    R1 → R2
    R1 → R3
  3. R1 → M[100]
    R2 → R3
  4. R1 → R2
    R1 → R3
    R1 → M[100]
retagged by

1 Answer

Best answer
58 votes
58 votes
Data forwarding means if CPU writes to a memory location and subsequently reads from the same memory location, the second instruction can fetch the value directly from the register used to do the write than waiting for the memory. So, this increases the performance.

Here, choices A, B and C doesn't really make any sense as the data was in R1 and it must be moved to R2, R3 and M[100]. So, (D) is the answer.
selected by
Answer:

Related questions

41 votes
41 votes
6 answers
1
Ishrat Jahan asked Nov 2, 2014
12,036 views
A process executes the following segment of code :for(i = 1; i <= n; i++) fork ();The number of new processes created is$n$$((n(n + 1))/2)$$2^n - 1$$3^n - 1$
23 votes
23 votes
4 answers
3
Ishrat Jahan asked Nov 2, 2014
4,947 views
Which one of the following binary trees has its inorder and preorder traversals as $BCAD$ and $ABCD$, respectively?
36 votes
36 votes
4 answers
4
Ishrat Jahan asked Nov 2, 2014
6,956 views
The function $A \bar B C + \bar A B C + AB \bar C+ \bar A \bar B C+ A \bar B \bar C$ is equivalent to$A \bar C + AB+ \bar A C$$A \bar B+ A \bar C+ \bar A C$$\bar A B+ A \...