the end ©2001 Harald Bögeholz

Branch prediction in MMIX

MMIXware bookThe pipelined MMIX simulator implements a combination of the above mentioned branch prediction methods. It uses

as an index into a table of 2a+b+c n-bit counters. These parameters are called a = branchaddressbits, b = branchhistorybits, c = branchdualbits, and n = branchpredictbits in the configuration file.

Branch prediction is implemented in §§ 150ff. of MMIX-PIPE. See Donald E. Knuth: MMIXware, A RISC Computer for the Third Millennium, Springer-Verlag, 1999