2. Dynamic Approach Tomosulo Algorithm
2. Dynamic Approach Tomosulo Algorithm
Unit I
Tomasulo Algorithm
Load1
Load2 Load Buffers
Load3
Load4
Load5 Store
Load6
Buffers
Add1
Add2 Mult1
Add3 Mult2
Reservation To Mem
Stations
FP
FPadders
adders FP
FPmultipliers
multipliers
Common
Chap. 3Data
-ILP 1Bus (CDB) 10 DAP Spr.‘98 ©UCB 10
Reservation Station Components
Op—Operation to perform in the unit (e.g., + or –)
Vj, Vk—Value of Source operands
– Store buffers has V field, result to be stored
Qj, Qk—Reservation stations producing source registers
(value to be written)
– Note: No ready flags as in Scoreboard; Qj,Qk=0 => ready
– Store buffers only have Qi for RS producing result
Busy—Indicates reservation station or FU is busy
Loop: LD F0 0 R1
MULTD F4 F0 F2
SD F4 0 R1
SUBI R1 R1 #8
BNEZ R1 Loop