发明名称 Branch predictor using multiple prediction heuristics and a heuristic identifier in the branch instruction
摘要 In a computer program, a branch instruction selects a prediction heuristic from a plurality of prediction heuristics for predicting whether the branch will be taken during execution of the program by a computer. A current pattern comprises a number of consecutive identical branch decisions for the instruction. A prior pattern comprises a number of consecutive identical prior branch decisions for the instruction, the prior branch decisions occurring prior to the branch decisions comprised by the current pattern. The selected prediction heuristic generates a branch prediction using the current pattern and the prior pattern. The selected prediction heuristic is identified by adding profiling instructions to the program to compute history information for the branch instruction. The profiling instructions input the branch history information to a plurality of prediction heuristics, and each prediction heuristic outputs a prediction of whether the branch instruction will be taken. The program is executed with a sample data set, and the output of each prediction heuristic is compared to the branch decision for the instruction to identify which heuristic most accurately predicts the branch decision for the branch instruction.
申请公布号 US5687360(A) 申请公布日期 1997.11.11
申请号 US19950431016 申请日期 1995.04.28
申请人 INTEL CORPORATION 发明人 CHANG, PO-HUA
分类号 G06F9/38;G06F11/34;(IPC1-7):G06F9/40 主分类号 G06F9/38
代理机构 代理人
主权项
地址