首页> 外国专利> Reducing branch prediction interference of opposite well behaved branches sharing history entry by static prediction correctness based updating

Reducing branch prediction interference of opposite well behaved branches sharing history entry by static prediction correctness based updating

机译:通过基于静态预测正确性的更新减少共享历史条目的相对行为良好的分支的分支预测干扰

摘要

Interference in a branch history table of a microprocessor is reduced by methods and apparatus which predict the outcome of branch instructions (taken or not taken) through a combination of static and dynamic prediction techniques. Static prediction information (e.g., a compiler hint) may be stored in instruction memory, and dynamic prediction information is stored in a branch history table. A branch prediction results from an exclusive OR of static and dynamic prediction information. After execution of a branch instruction, an indication as to whether a branch was taken or not taken is exclusively ORed with the static prediction information for the branch instruction, and the result of this exclusive OR is used to update an appropriate entry in the branch history table. Using the methods and apparatus disclosed herein, two well-behaved branches may share an entry in a branch history table, yet not interfere with one another (even when the two well-behaved branches include one which is mostly taken, and one which is mostly not taken).
机译:通过静态和动态预测技术的结合来预测分支指令(已采用或未采用)的结果的方法和装置,减少了对微处理器的分支历史表的干扰。可以将静态预测信息(例如,编译器提示)存储在指令存储器中,将动态预测信息存储在分支历史表中。分支预测来自静态和动态预测信息的异或。在执行分支指令后,将有关分支是否被采用的指示与分支指令的静态预测信息进行异或运算,并将该异或的结果用于更新分支历史中的适当条目表。使用本文公开的方法和设备,两个行为良好的分支可以共享一个分支历史表中的一个条目,但不会互相干扰(即使当两个行为良好的分支包括一个主要使用的分支和一个多数主要的分支时)不采取)。

著录项

  • 公开/公告号US6353882B1

    专利类型

  • 公开/公告日2002-03-05

    原文格式PDF

  • 申请/专利权人 HEWLETT-PACKARD COMPANY;

    申请/专利号US20000614043

  • 发明设计人 DOUGLAS B. HUNT;

    申请日2000-07-11

  • 分类号G06F93/80;

  • 国家 US

  • 入库时间 2022-08-22 00:46:30

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号