Q. Consider the following sequence of instructions executed on a pipelined…

Q. Consider the following sequence of instructions executed on a pipelined CPU:

I₁ : R1 ← R2 * R3  

I₂ : R2 ← R1 + R3  

I₃ : R3 ← R2 - R1  

I₄ : R1 ← R3 * R2  

I₅ : R2 ← R1 /   R3

I₆ : MUL[J] ← R2
If the number of Read After Write (RAW) hazards is x, the number of Write After Read (WAR) hazards is y, and the number of Write After Write (WAW) hazards is z, then the value of x + y + z = ______ . (NAT)

Attempted by 5 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…