首页> 外国专利> Bad branch prediction detection, marking, and accumulation for faster instruction stream processing

Bad branch prediction detection, marking, and accumulation for faster instruction stream processing

机译:错误分支预测检测,标记和累积,可加快指令流处理速度

摘要

An apparatus for extracting instructions from a stream of undifferentiated instruction bytes in a microprocessor having an instruction set architecture in which the instructions are variable length. Decode logic decodes the instruction bytes of the stream to generate for each a corresponding opcode byte indictor and end byte indicator and receives a corresponding taken indicator for each of the instruction bytes. The taken indicator is true if a branch predictor predicted the instruction byte is the opcode byte of a taken branch instruction. The decode logic generates a corresponding bad prediction indicator for each of the instruction bytes. The bad prediction indicator is true if the corresponding taken indicator is true and the corresponding opcode byte indicator is false. The decode logic sets to true the bad prediction indicator for each remaining byte of an instruction whose opcode byte has a true bad prediction indicator. Control logic extracts instructions from the stream and sends the extracted instructions for further processing by the microprocessor. The control logic foregoes sending an instruction having both a true end byte indicator and a true bad prediction indicator.
机译:一种在具有指令集体系结构的微处理器中从未分化指令字节流中提取指令的装置,其中指令是可变长度的。解码逻辑对流的指令字节进行解码,为每个指令字节生成一个相应的操作码字节指示符和结束字节指示符,并为每个指令字节接收一个对应的采用指示符。如果分支预测器预测指令字节是已采用分支指令的操作码字节,则采用指示符为true。解码逻辑为每个指令字节生成相应的不良预测指示符。如果相应的采用指示符为真,而相应的操作码字节指示符为假,则不良预测指示符为真。对于操作码字节具有真实不良预测指示符的指令的每个剩余字节,解码逻辑将不良预测指示符设置为true。控制逻辑从流中提取指令,并发送提取的指令以供微处理器进一步处理。控制逻辑放弃发送具有真实结束字节指示符和真实不良预测指示符的指令。

著录项

  • 公开/公告号US8473726B2

    专利类型

  • 公开/公告日2013-06-25

    原文格式PDF

  • 申请/专利权人 THOMAS C. MCDONALD;

    申请/专利号US20090572058

  • 发明设计人 THOMAS C. MCDONALD;

    申请日2009-10-01

  • 分类号G06F9/44;

  • 国家 US

  • 入库时间 2022-08-21 16:45:31

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号