Branch Table - Other Uses of Technique

Other Uses of Technique

Although the technique of branching using a branch table is most frequently utilized solely for the purpose of altering program flow – to jump to a program label that is an unconditional branch – the same technique can be used for other purposes. For example, it can be used to select a starting point in a sequence of repeated instructions where drop through is the norm and intentional. This can be used for example by optimizing compilers or JIT compilers in loop unrolling.

Read more about this topic:  Branch Table

Famous quotes containing the word technique:

    In love as in art, good technique helps.
    Mason Cooley (b. 1927)