发明授权
US5210831A Methods and apparatus for insulating a branch prediction mechanism from
data dependent branch table updates that result from variable test
operand locations
失效
从数据依赖分支机构中分离出分支预测机制的方法和装置更新可变测试操作地点的更新
- 专利标题: Methods and apparatus for insulating a branch prediction mechanism from data dependent branch table updates that result from variable test operand locations
- 专利标题(中): 从数据依赖分支机构中分离出分支预测机制的方法和装置更新可变测试操作地点的更新
-
申请号: US429922申请日: 1989-10-30
-
公开(公告)号: US5210831A公开(公告)日: 1993-05-11
- 发明人: Philip G. Emma , Joshua W. Knight , James H. Pomerene , Rudolph N. Rechtschaffen , Frank J. Sparacio
- 申请人: Philip G. Emma , Joshua W. Knight , James H. Pomerene , Rudolph N. Rechtschaffen , Frank J. Sparacio
- 申请人地址: NY Armonk
- 专利权人: International Business Machines Corporation
- 当前专利权人: International Business Machines Corporation
- 当前专利权人地址: NY Armonk
- 主分类号: G06F9/38
- IPC分类号: G06F9/38
摘要:
Methods and apparatus are described for processing branch instructions using a history based branch prediction mechanism (such as a branch history table) in combination with a data dependent branch table (DDBT), where the branch instructions can vary in both outcome and test operand location. The novel methods and apparatus are sensitive to branch mispredictions and to operand addresses used by the DDBT, to identify irrelevant DDBT entries. Irrelevant DDBT entries are identified within the prediction mechanism using state bits which, when set, indicate that: (1) a given entry in the prediction mechanism was updated by the DDBT and (2) subsequent to such update a misprediction occurred making further DDBT updates irrelevant. Once a DDBT entry is determined to be irrelevant, it is prevented from updating the prediction mechanism. The invention also provides methods and apparatus for locating and removing irrelevant entries from the DDBT. The update packet, sent by the DDBT to the history based prediction mechanism, is expanded to include the test operand address actually used by the DDBT. If the state bits indicate the update is irrelevant, then the operand address can be used to locate and delete the offending DDBT entry since the DDBT is organized based on operand addresses. Additionally, the invention provides for inhibiting creation of further DDBT entries when a Branch Wrong Guess event occurs subsequent to a DDBT update to a given prediction mechanism entry.
公开/授权文献
- US4582675A Magnetic switch for reactor control rod 公开/授权日:1986-04-15
信息查询