摘要 |
The application discloses methods and conditional branch predictors for predicting an outcome of a conditional branch instruction in a program executed by a processor using a long conditional branch history. The method comprises generating a first index from a first portion of the conditional branch history and a second index from a second portion of the conditional branch history. The first index is then used to identify an entry in a first pattern history table comprising first prediction information; and the second index is used to identify an entry in a second pattern history table comprising second prediction information. The outcome of the conditional branch is predicted based on the first and second prediction information. |