首页> 外国专利> Cache holding register for delayed update of a cache line into an instruction cache

Cache holding register for delayed update of a cache line into an instruction cache

机译:高速缓存保持寄存器,用于延迟将高速缓存行更新为指令高速缓存

摘要

An instruction cache employing a cache holding register is provided. When a cache line of instruction bytes is fetched from main memory, the instruction bytes are temporarily stored into the cache holding register as they are received from main memory. The instruction bytes are predecoded as they are received from the main memory. If a predicted- taken branch instruction is encountered, the instruction fetch mechanism within the instruction cache begins fetching instructions from the target instruction path. This fetching may be initiated prior to receiving the complete cache line containing the predicted-taken branch instruction. As long as instruction fetches from the target instruction path continue to hit in the instruction cache, these instructions may be fetched and dispatched into a microprocessor employing the instruction cache. The remaining portion of the cache line of instruction bytes containing the predicted-taken branch instruction is received by the cache holding register. In order to reduce the number of ports employed upon the instruction bytes storage used to store cache lines of instructions, the cache holding register retains the cache line until an idle cycle occurs in the instruction bytes storage. The same port ordinarily used for fetching instructions is then used to store the cache line into the instruction bytes storage. In one embodiment, the instruction cache prefetches a succeeding cache line to the cache line which misses. A second cache holding register is employed for storing the prefetched cache line.
机译:提供了一种使用高速缓存保持寄存器的指令高速缓存。当从主存储器中取出指令字节的高速缓存行时,当从主存储器接收到指令字节时,这些指令字节被临时存储到高速缓存保持寄存器中。指令字节是从主存储器接收到的,因此会被预解码。如果遇到预测采取的分支指令,则指令高速缓存中的指令提取机制开始从目标指令路径中提取指令。可以在接收到包含预测采用的分支指令的完整高速缓存行之前启动该获取。只要从目标指令路径提取的指令继续命中指令高速缓存,就可以将这些指令获取并分派到采用指令高速缓存的微处理器中。高速缓存行的指令字节的剩余部分包含高速缓存保持寄存器,该指令字节包含预测采用的分支指令。为了减少在用于存储指令高速缓存行的指令字节存储上采用的端口数量,高速缓存保持寄存器保持高速缓存行,直到在指令字节存储中发生空闲周期为止。然后,通常将用于提取指令的相同端口用于将高速缓存行存储到指令字节存储中。在一个实施例中,指令高速缓存将后续的高速缓存行预取到未命中的高速缓存行。第二高速缓存保持寄存器用于存储预取的高速缓存行。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号