Next:
...
Up:
What might go wrong: Hazards
Previous:
...
...
Dealing with data hazards--
IDEA:
stall the subtraction until the WB stage of the addition completes.
SMARTER IDEA:
``forwarding'' - check whether source register is same as last destination register.
If so, route ALU's output direct to where it's needed.
We return to this in more detail very shortly.
(See H&P pp.147)
Paul H J Kelly Mon Nov 17 01:29:59 GMT 1997