首页> 外国专利> Alternative direct-mapped cache and cache replacement method

Alternative direct-mapped cache and cache replacement method

机译:备用直接映射缓存和缓存替换方法

摘要

A method includes storing a first block of main memory in a cache line of a direct-mapped cache, storing a first tag in a current tag field of the cache line, wherein the first tag identifies a first memory address for the first block of main memory, and storing a second tag in a previous miss tag field of the cache line in response to receiving a memory reference having a tag that does not match the tag stored in the current tag field. The second tag identifies a second memory address for a second block of main memory, and the first and second blocks are both mapped to the cache line. The method may further include storing a binary value in a last reference bit field to indicate whether the most recently received memory reference was directed to the current tag field or previous miss tag field.
机译:一种方法包括:将主存储器的第一块存储在直接映射的高速缓存的高速缓存行中;将第一标签存储在高速缓存线的当前标签字段中,其中,第一标签标识主块的第一块的第一存储器地址。存储器,并响应于接收到具有与存储在当前标签字段中的标签不匹配的标签的存储器引用,而将第二标签存储在高速缓存行的先前的未命中标签字段中。第二标签标识用于主存储器的第二块的第二存储器地址,并且第一块和第二块都被映射到高速缓存行。该方法可以进一步包括将二进制值存储在最后参考比特字段中,以指示最近接收到的存储器参考是针对当前标签字段还是先前的未命中标签字段。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号