首页> 外国专利> BRANCH PREDICTING DEVICE, BRANCH PREDICTING METHOD THEREOF, COMPILER, COMPILING METHOD THEREOF, AND MEDIUM FOR STORING BRANCH PREDICTING PROGRAM

BRANCH PREDICTING DEVICE, BRANCH PREDICTING METHOD THEREOF, COMPILER, COMPILING METHOD THEREOF, AND MEDIUM FOR STORING BRANCH PREDICTING PROGRAM

机译:分支预测装置,其分支预测方法,编译器,其编译方法以及用于存储分支预测程序的介质

摘要

A branch predicting mechanism (1000) contained in an information processing device (100) is provided with an argument stack (113) that stacks, at the timing when a function is called, the arguments of the function. In the argument stack (113), arguments related to branching commands within a function are stored. The branch predicting mechanism (1000) stores, in a branching result buffer (116), information that has; the address where the branching command is located; the forefront value of the argument stack (113) at the timing when the branching command was executed; and the branching destination address at the time the branching command was executed; made to corresponds to each other. A branch predicting unit (117) obtains the address where the branching command is located when the execution of the branching command was notified, and the forefront value of the argument stack (113) at that time; conduct searching whether there is a branching destination that corresponds to that address and forefront value within the branching result buffer (116); and predicts the branching destination that was obtained as a result of the searching, as the branching destination of the branching command to be executed. A command fetching unit (118) will fetch the command that exists at the branching destination predicted by the branch predicting unit (117).
机译:信息处理设备(100)中包含的分支预测机构(1000)设置有自变量堆栈(113),该自变量堆栈在调用函数的时刻堆叠该函数的自变量。在参数堆栈(113)中,存储与函数内的分支命令有关的参数。分支预测机构(1000)在分支结果缓冲器(116)中存储具有以下内容的信息:分支命令所在的地址;在执行分支命令的时刻,参数堆栈(113)的最前值;执行分支命令时的分支目的地址;相互对应。分支预测单元(117)获得在通知分支命令的执行时分支命令所位于的地址以及此时的参数堆栈(113)的最前值。在分支结果缓冲器(116)中搜索是否存在与该地址和最前值相对应的分支目的地;并且将作为搜索结果而获得的分支目的地预测为要执行的分支命令的分支目的地。命令获取单元(118)将获取由分支预测单元(117)预测的分支目的地处存在的命令。

著录项

  • 公开/公告号WO2010134330A1

    专利类型

  • 公开/公告日2010-11-25

    原文格式PDF

  • 申请/专利权人 PANASONIC CORPORATION;AMANO KATSUSHIGE;

    申请/专利号WO2010JP03357

  • 发明设计人 AMANO KATSUSHIGE;

    申请日2010-05-19

  • 分类号G06F9/38;

  • 国家 WO

  • 入库时间 2022-08-21 18:00:30

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号