首页> 外国专利> STATIC BRANCH PREDICTION METHOD AND CODE EXECUTION METHOD FOR PIPELINE PROCESSOR, AND CODE COMPILING METHOD FOR STATIC BRANCH PREDICTION

STATIC BRANCH PREDICTION METHOD AND CODE EXECUTION METHOD FOR PIPELINE PROCESSOR, AND CODE COMPILING METHOD FOR STATIC BRANCH PREDICTION

机译:管道处理器的静态分支预测方法和代码执行方法,以及静态分支预测的代码编译方法

摘要

A static branch prediction method and code execution method for a pipeline processor, and a code compiling method for static branch prediction, are provided herein. The static branch prediction method includes predicting a conditional branch code as taken or not-taken, adding the prediction information, converting the conditional branch code into a jump target address setting (JTS) code including target address information, branch time information, and a test code, and scheduling codes in a block. The code may be scheduled into a last slot of the block, and the JTS code may be scheduled into an empty slot after all the other codes in the block are scheduled. When the conditional branch code is predicted as taken in the prediction operation, a target address indicated by the target address information may be fetched at a cycle time indicated by the branch time information.
机译:这里提供了用于流水线处理器的静态分支预测方法和代码执行方法,以及用于静态分支预测的代码编译方法。静态分支预测方法包括:预测采用或不采用的条件分支代码;添加预测信息;将条件分支代码转换为包含目标地址信息,分支时间信息和测试的跳转目标地址设置(JTS)代码代码和计划代码在一个块中。可以将该代码调度到该块的最后一个时隙中,并且可以在调度该块中的所有其他代码之后将JTS代码调度到一个空时隙中。当如在预测操作中那样对有条件分支代码进行了预测时,可以在由分支时间信息指示的周期时间获取由目标地址信息指示的目标地址。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号