| |
| | Untitled Document |
 | | So, when a branch instruction is encountered, the hardware puts the instruction following the branch into the pipe and begins executing it, just as in predict-not-taken. |
 | | However, unlike in predict-not-taken, we do not need to worry about whether the branch is taken or not, we do not need to clear the pipe because no matter whether the branch is taken or not, we know the instruction is safe to execute. |
 | | When the program was compiled, the compiler looked at each branch instruction, and tried to find something that could be safely executed, whether we take the branch or not. |
| www.cs.umd.edu /class/fall2001/cmsc411/projects/branches/delay.html (648 words) |
|