next > ©2001 Harald Bögeholz

Static branch prediction

In MMIX, the programmer (or compiler) can tell the processor his personal prediction of the branch outcome by choosing between two variants of branch instructions:

In processors that don't have this kind of branch hints (like all x86 processors), static branch prediction can still be hardwired into the processor based on criteria like: