







































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!








































Extending simple pipeline to multiple
pipes
IF ID
EX (e.g., integer; latency 0)
M1 M
A1 (^) A
Div (e.g., not pipelined, Latency 25)
Me
Needed at beg of cycle & ready at end of cycle
both
WB
F-p add (latency 3)
F-p mul (latency 6)
RAW:Example from the book (pg A-51)
F4 <- M IF ID EX Me WB F0 <- F4 * F6 IF ID st M1 M2 M3 M4 M5 M6 M7 Me WB F2 <- F0 + F8 IF st ID st st st st st st A1 A2 A3 A4 Me WB M <- F2 IF st st st st st st ID EX st st st Me WB
In blue data dependencies hazard In red structural hazard In green stall cycles Note both the data dependency and structural hazard for the 4 th^ instruction
O j ∩ Ii ≠ ∅
O i ∩ Oj ≠ ∅
R1 = R2/ R3 (long latency; in execution) R2 = R1 + R5 (issue but no dispatch because