首页> 外国专利> Branch prediction device, branch prediction method, compiler, compilation method thereof, and branch prediction program recording medium

Branch prediction device, branch prediction method, compiler, compilation method thereof, and branch prediction program recording medium

机译:分支预测装置,分支预测方法,编译器,其编译方法以及分支预测程序记录介质

摘要

A branch prediction mechanism 1000 within an information processing device 100 comprises a call stack 113 where function arguments are stacked when function calls are performed. The call stack 113 stores arguments relating to branch instructions within the function. The branch prediction mechanism 1000 stores the branch instruction address, the leading value of the call stack 113, and the branch destination address at branch instruction execution time, which are in correspondence, in a branch result buffer 116. A branch prediction unit 117 obtains the branch instruction address and leading value of the call stack 113 when notified of branch instruction execution, searches the branch result buffer 116 for a branch destination corresponding to the address and leading value, and predicts the search result as the branch destination of the executed branch instruction. An instruction fetch unit 118 fetches instructions from the branch destination predicted by the branch prediction unit 117.
机译:信息处理设备100内的分支预测机制1000包括调用栈113,其中在执行函数调用时堆叠函数自变量。调用栈113在功能内存储与分支指令有关的自变量。分支预测机构1000将对应的分支指令地址,调用栈113的引导值以及分支指令执行时的分支目的地地址存储在分支结果缓冲器116中。分支预测部117求出分支指令地址。当被通知分支指令执行时,调用堆栈113的分支指令地址和引导值,在分支结果缓冲器116中搜索与该地址和引导值相对应的分支目的地,并预测搜索结果作为执行的分支指令的分支目的地。 。指令获取单元118从由分支预测单元117预测的分支目的地获取指令。

著录项

  • 公开/公告号JP5347023B2

    专利类型

  • 公开/公告日2013-11-20

    原文格式PDF

  • 申请/专利权人 パナソニック株式会社;

    申请/专利号JP20110514333

  • 发明设计人 天野 克重;

    申请日2010-05-19

  • 分类号G06F9/38;

  • 国家 JP

  • 入库时间 2022-08-21 16:11:40

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号