首页> 外国专利> Method and apparatus for predicting conditional branch instruction outcome based on branch condition test type

Method and apparatus for predicting conditional branch instruction outcome based on branch condition test type

机译:基于分支条件测试类型的条件分支指令结果预测方法及装置

摘要

An apparatus and method for improving the execution of conditional branch instructions is provided. A static branch predictor makes predictions about the outcomes of branch instructions based upon a combination of the test type (such as jump on overflow, jump if negative, jump if zero, jump on carry, etc.) and the sign of the displacement of the branch instruction. If the test type of the branch instruction is one of a subset of test types from which the branch outcome can accurately be predicted solely from the test type, then the predictor makes such a prediction. Otherwise, the predictor makes a prediction based upon the sign of the displacement used to calculate the branch target address. In this case, backward jumps are predicted taken and forward jumps are predicted not taken.
机译:提供了一种用于改善条件分支指令的执行的设备和方法。静态分支预测器根据测试类型(例如溢出跳转,否定跳转,零跳转,进位跳转等)和位移的符号的组合来预测分支指令的结果。分支指令。如果分支指令的测试类型是测试类型的子集之一,可以仅根据测试类型准确地从中预测分支结果,则预测器会进行这种预测。否则,预测器将根据用于计算分支目标地址的位移的符号进行预测。在这种情况下,向后跳跃被预测为发生而向前跳跃被预测为未被发生。

著录项

  • 公开/公告号US6230261B1

    专利类型

  • 公开/公告日2001-05-08

    原文格式PDF

  • 申请/专利权人 I. P. FIRST L.L.C.;

    申请/专利号US19980203900

  • 发明设计人 G. GLENN HENRY;TERRY PARKS;

    申请日1998-12-02

  • 分类号G06F93/20;G06F157/60;G06F94/50;

  • 国家 US

  • 入库时间 2022-08-22 01:04:22

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号