Next: WAR Up: Pipelining With Multicycle Operations Previous: OBSERVE

NEW DATA HAZARDS

Thus far we have seen one kind of data hazard: a calculation must wait until a value it needs has been calculated. There are actually three kinds of data hazard:

RAW

``Read after write'': the register must be read after it has been written (or at least calculated)

WAW

``Write after write'': The register must be written after previous instructions have written to it - updates must be performed in order

WAR

``Write after read'': The register must only be written to after previous instructions have read it

WAW and WAR hazards couldn't happen in the simple DLX pipeline (H&P pp.151)



Paul H J Kelly Mon Dec 1 20:07:28 GMT 1997