












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!













without …………….. Cont’d
In a single issue five stage pipeline: we can ensure that instructions are committed in- order, simply by moving writes to the end of the pipeline
Because
when we add speculation, we need to separate the process of completing execution and instruction-commit, as the instructions may finish execution considerably before they are ready to commit
Hardware Based Speculation: Implementation
Modified hardware including ROB
Modified Hardware
Modified Hardware - Explanation
Instruction results commit to register set in- order
If ROB is implemented as a queue then
it is simple to Undo speculated instructions on mispredicted branches
or on
exceptions just requires throwing away uncommitted entries
It indicates whether: