Branching :                                                                                                                                                  Print this page
<< Previous |  First Last |  Next >>       

Dealing with Branches:

One of the major problems in designing an instruction pipe line is assuming a steady flow of instructions to the initial stages of the pipeline.

The primary problem is the conditional brancho instruction until the instruction is actually executed, it is impossible to determine whether the branch will be taken or not.

A variety of approaches have been taken for dealing with conditional branches:

  • Multiple streams

  • Prefetch branch target

  • Loop buffer

  • Branch prediction

  • Delayed branch

<< Previous |  First Last |  Next >>       
o