首页> 外国专利> Instruction cache configured to provide instructions to a microprocessor having a clock cycle time less than a cache access time of said instruction cache

Instruction cache configured to provide instructions to a microprocessor having a clock cycle time less than a cache access time of said instruction cache

机译:指令高速缓存器,配置为向具有小于所述指令高速缓存器的高速缓存器访问时间的时钟周期时间的微处理器提供指令

摘要

An apparatus including a banked instruction cache and a branch prediction unit is provided. The banked instruction cache allows multiple instruction fetch addresses (comprising consecutive instruction blocks from the predicted instruction stream being executed by the microprocessor) to be fetched concurrently. The instruction cache provides an instruction block corresponding to one of the multiple fetch addresses to the instruction processing pipeline of the microprocessor during each consecutive clock cycle, while additional instruction fetch addresses from the predicted instruction stream are fetched. Preferably, the instruction cache includes at least a number of banks equal to the number of clock cycles consumed by an instruction cache access. In this manner, instructions may be provided during each consecutive clock cycle even though instruction cache access time is greater than the clock cycle time of the microprocessor. Because consecutive instruction blocks from the instruction stream are fetched concurrently, the branch prediction unit stores a prediction for a non-consecutive instruction block with each instruction block. For example, for an instruction cache having a cache access time which is twice the clock cycle time, a prediction for the second consecutive instruction block following a particular instruction block within the predicted instruction stream is stored. When a pair of consecutive instruction blocks are fetched, predictions for a second pair of consecutive instruction blocks within the instruction stream subsequent to the pair of consecutive instruction blocks are formed from the branch prediction information stored with respect to the pair of consecutive instruction blocks.
机译:提供了一种包括存储指令缓存和分支预测单元的设备。存储区指令高速缓存允许同时提取多个指令提取地址(包含来自微处理器执行的预测指令流的连续指令块)。指令高速缓存器在每个连续的时钟周期期间将对应于多个获取地址之一的指令块提供给微处理器的指令处理流水线,同时从预测的指令流中获取附加的指令获取地址。优选地,指令高速缓存器包括至少等于由指令高速缓存器访问消耗的时钟周期的数量的存储体的数量。以这种方式,即使指令高速缓存访​​问时间大于微处理器的时钟周期时间,也可以在每个连续的时钟周期期间提供指令。因为来自指令流的连续指令块是同时获取的,所以分支预测单元将每个指令块存储对非连续指令块的预测。例如,对于具有两倍于时钟周期时间的高速缓存访​​问时间的指令高速缓存,存储针对在预测的指令流内的特定指令块之后的第二连续指令块的预测。当获取一对连续的指令块时,根据相对于该对连续的指令块存储的分支预测信息来形成对在该对连续的指令块之后的指令流中的第二对连续的指令块的预测。

著录项

  • 公开/公告号US5752259A

    专利类型

  • 公开/公告日1998-05-12

    原文格式PDF

  • 申请/专利权人 ADVANCED MICRO DEVICES INC.;

    申请/专利号US19960621960

  • 发明设计人 THANG M. TRAN;

    申请日1996-03-26

  • 分类号G06F12/00;

  • 国家 US

  • 入库时间 2022-08-22 02:39:36

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号