Back to ComputerTerms
A solution to the branch prediction problem: Take an instruction that will always be executed and places it after the branch instruction and delay the execution of the branch until after that instruction is executed. That is, don't kill this instruction in the pipeline just because it comes after the branch (in this case we have not speculated on the branch). This is an example of out of order execution solving the control hazard. The slot occupied by the "safe" instruction is called the delayed branch slot. If it is always possible to move a safe instruction into the delayed branch slot in the five stage pipeline, you will never have a control hazard.
See PipeLine
Back to ComputerTerms