In non speculative Tomasulo, for each register, we designate how the corresponding register will get its value from.
i instruction : R1 = R3 + R4
i+1 instrction : R1 = R5 + R6
when i th instruction is in progress, R1 will mark corresponding reservation station for this instruction who will provide value for R1.
Similarly, when (i+1)th instruction, is in progress, it will later update that value of R1 will come from the reservation station associated with (i+1) instruction.
Thus the value of (i+1) instruction will prevail avoiding WAW hazard.
Advertisement