摘要 |
A microcode branch predictor is presented. In an embodiment for a microcode branch predictor the microcode branch predictor includes a first input to accept macrocode instruction address data, a second input to accept microcode instruction address data, a processor to convert the macrocode instruction address data and microcode instruction address data to a value, an index to cross-reference the value to a microcode branch instruction result, and an output to signal whether the microcode branch instruction result is taken or not taken. In a method of generating an value to index a branch predictor, the method includes establishing a first pointer to a microcode address having a first pointer value, establishing a second pointer to a macrocode address having a second pointer value, hashing at least the first pointer value and the second pointer value to yield a hashing function value, and cross-referencing the hashing function value to a microcode branch result, wherein microcode branches are predicted based on the hashing function value.
|