首页> 外国专利> Method and apparatus for multithreaded cache with simplified implementation of cache replacement policy

Method and apparatus for multithreaded cache with simplified implementation of cache replacement policy

机译:具有简化的高速缓存替换策略实现的多线程高速缓存的方法和装置

摘要

A cache memory for use in a multithreaded processor includes a number of set-associative thread caches, with one or more of the thread caches each implementing an eviction process based on access request address that reduces the amount of replacement policy storage required in the cache memory. At least a given one of the thread caches in an illustrative embodiment includes a memory array having multiple sets of memory locations, and a directory for storing tags each corresponding to at least a portion of a particular address of one of the memory locations. The directory has multiple entries each storing multiple ones of the tags, such that if there are n sets of memory locations in the memory array, there are n tags associated with each directory entry. The directory is utilized in implementing a set-associative address mapping between access requests and memory locations of the memory array. An entry in a particular one of the memory locations is selected for eviction from the given thread cache in conjunction with a cache miss event, based at least in part on at least a portion of an address in an access request associated with the cache miss event.
机译:在多线程处理器中使用的高速缓存存储器包括多个集合关联线程高速缓存,其中一个或多个线程高速缓存各自基于访问请求地址实现逐出过程,从而减少了高速缓存存储器中所需的替换策略存储量。在说明性实施例中,至少给定的线程高速缓存中的一个包括具有多组存储器位置的存储器阵列,以及用于存储标签的目录,每个标签均对应于存储器位置之一的特定地址的至少一部分。该目录具有多个条目,每个条目存储多个标签,因此,如果存储阵列中有n组存储位置,则每个目录条目都将有n个标签。该目录用于实现访问请求和存储阵列的存储位置之间的组关联地址映射。至少部分地基于与高速缓存未命中事件相关联的访问请求中的地址的至少一部分,从给定线程高速缓存中选择特定存储器位置中的一个条目以与高速缓存未命中事件一起从驱逐中退出。 。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号