Data forwarding techniques can be used to speed up the operation in presence of data dependencies. Consider the following replacements of LHS with RHS.
- $R1→ Loc, Loc→ R2 \quad ≡ R1→ R2, R1 → Loc$
- $R1→ Loc, Loc→ R2 \quad ≡ R1→ R2$
- $R1→ Loc, R2 → Loc \quad ≡ R1→ Loc$
- $R1→ Loc, R2 → Loc \quad ≡ R2→ Loc$
In which of the following options, will the result of executing the RHS be the same as executing the LHS irrespective of the instructions that follow ?
- i and iii
- i and iv
- ii and iii
- ii and iv