







Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








© S. J. Patel, 2001
© S. J. Patel, 2001
© S. J. Patel, 2001
x = (a * b) - (c + d); y = (r + s) / (t + v);
Source Code Source Code (^) Machine CodeMachine Code
Dataflow Graph Dataflow Graph
© S. J. Patel, 2001
Tomasulo’s Algorithm
© S. J. Patel, 2001
© S. J. Patel, 2001
WAW (false dependencies)
between architectural registers and
physical registers
© S. J. Patel, 2001
tail pointer
head pointer
Insts, in program order
An instruction that reaches the head and executes without exception can be safely retired
Values from Data Bus
•Flushing inflight instructions is easy – clear out RS and ROB
•Recovering RAT state is hard. That’s where the ROB comes in.
© S. J. Patel, 2001
Register Alias Table
Reservation Stations
Reorder Buffer
© S. J. Patel, 2001
L/S L/S VV AddrAddr VV ValueValue
Loads/Stores in program order
•What about loads?
•Could wait until all previous unknown store addresses are known (not so conservative)
•Could go as soon as address is known (optimistic)