首页> 外国专利> SWAPPING AND RESTORING CONTEXT-SPECIFIC BRANCH PREDICTOR STATES ON CONTEXT SWITCHES IN A PROCESSOR

SWAPPING AND RESTORING CONTEXT-SPECIFIC BRANCH PREDICTOR STATES ON CONTEXT SWITCHES IN A PROCESSOR

机译:在处理器中的上下文交换机上交换和恢复上下文的分支预测器状态

摘要

Swapping and restoring context-specific branch predictor states on context switches in a processor. A branch prediction circuit in an instruction processing circuit of a processor includes a private branch prediction memory configured to store branch prediction states for a context of a process being executed. The branch prediction states are accessed by the branch prediction circuit to predict outcomes of its branch instructions of the process. In certain aspects, when a context switch occurs in the processor, branch prediction states stored in a private branch prediction memory and associated with the current, to-be-swapped-out context, are swapped out of the private branch prediction memory to the shared branch prediction memory. Branch prediction states in the shared branch prediction memory previously stored (i.e., swapped out) and associated with to-be-swapped-in context for execution are restored in the private branch prediction memory to be used for branch prediction.
机译:在处理器中的上下文交换机上交换和恢复特定于上下文的分支预测状态。处理器的指令处理电路中的分支预测电路包括专用分支预测存储器,被配置为存储分支预测状态以用于被执行的过程的上下文。分支预测电路访问分支预测状态以预测其分支指令的结果的结果。在某些方面,当在处理器中发生上下文切换时,存储在专用分支预测存储器中并与当前,待交换上下文相关联的分支预测状态被交换为共享的专用分支预测存储器分支预测存储器。在先前存储的共享分支预测存储器中的分支预测状态(即,交换出)并与执行的待交换的上下文相关联,以便在专用分支预测存储器中恢复以用于分支预测。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号