Pipeline having bifurcated global branch history buffer for indexing branch history table per instruction fetch group
    1.
    发明授权
    Pipeline having bifurcated global branch history buffer for indexing branch history table per instruction fetch group 失效
    管道具有分叉全局分支历史缓冲区,用于每个指令获取组索引分支历史表

    公开(公告)号:US07454602B2

    公开(公告)日:2008-11-18

    申请号:US11013148

    申请日:2004-12-15

    CPC分类号: G06F9/3806 G06F9/3848

    摘要: A method and apparatus for updating global branch history information are disclosed. A dynamic branch predictor within a data processing system includes a global branch history (GBH) buffer and a branch history table. The GBH buffer contains GBH information of a group of the most recent branch instructions. The branch history table includes multiple entries, each entry is associated with one or more branch instructions. The GBH information from the GBH buffer can be used to index into the branch history table to obtain a branch prediction signal. In response to a fetch group of instructions, a fixed number of GBH bits is shifted into the GBH buffer. The number of GBH bits is the same regardless of the number of branch instructions within the fetch group of instructions. In addition, there is a unique bit pattern associated with the case of no taken branch in the fetch group, regardless of the number of not-taken branches of even if there are any branches in the fetch group.

    摘要翻译: 公开了一种用于更新全局分支历史信息的方法和装置。 数据处理系统中的动态分支预测器包括全局分支历史(GBH)缓冲区和分支历史表。 GBH缓冲区包含一组最新分支指令的GBH信息。 分支历史表包括多个条目,每个条目与一个或多个分支指令相关联。 来自GBH缓冲器的GBH信息可以用于索引到分支历史表中以获得分支预测信号。 响应于取指令组,固定数量的GBH位被移入GBH缓冲器。 无论读取指令组中的分支指令数如何,GBH位数都是相同的。 另外,即使在取出组中有任何分支,也不管抽取分支的数目如何,与获取组中没有分支的情况相关联的唯一位模式。