首页> 外国专利> Processor microarchitecture for efficient processing of instructions in a program including a conditional program flow control instruction

Processor microarchitecture for efficient processing of instructions in a program including a conditional program flow control instruction

机译:处理器微体系结构,用于有效处理程序中包含条件程序流控制指令的指令

摘要

A processor microarchitecture for efficient processing of instructions in a program including a program flow control instruction. The program flow control instruction specifies a target instruction and includes one or more candidate instructions between the target instruction and the program flow control instruction. A fetch unit fetches instructions in the program from the memory. Control logic stores one or more candidate instructions in the buffer prior to resolution of the conditional program flow control instruction in response to the fetch unit fetching a program flow control instruction specifying a target instruction within a predetermined number of instructions from the conditional program flow control instruction. In another embodiment, the candidate instructions are stored only if the conditional branch instruction is considered to be difficult to predict. The execution unit of the invention executes the candidate instructions if the conditional program flow control instruction is resolved to be not taken and ignores the candidate instructions, through no-ops in one embodiment, if the conditional program flow control instruction is resolved to be taken, thus avoiding a misprediction penalty.
机译:用于有效处理程序中包括程序流控制指令的指令的处理器微体系结构。程序流程控制指令指定目标指令,并且在目标指令与程序流程控制指令之间包括一个或多个候选指令。提取单元从存储器中提取程序中的指令。响应于提取单元从条件程序流控制指令中获取预定数量的指令中的指定目标指令的程序流控制指令,控制逻辑在有条件程序流控制指令解析之前将一个或多个候选指令存储在缓冲器中。在另一个实施例中,仅当条件分支指令被认为难以预测时才存储候选指令。在一个实施例中,如果确定条件程序流控制指令不被采用,则本发明的执行单元执行候选指令,并且如果确定条件程序流控制指令被确定为采用无操作,则通过无操作来忽略候选指令;从而避免了误判的惩罚。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号