首页> 外国专利> Selecting cache to fetch in multi-level cache system based on fetch address source and pre-fetching additional data to the cache for future access

Selecting cache to fetch in multi-level cache system based on fetch address source and pre-fetching additional data to the cache for future access

机译:根据获取地址源选择要在多级缓存系统中提取的缓存,并将其他数据预提取到缓存中以备将来访问

摘要

A processor employs a first instruction cache, a second instruction cache, and a fetch unit employing a fetch/prefetch method among the first and second instruction caches designed to provide high fetch bandwidth. The fetch unit selects a fetch address based upon previously fetched instructions (e.g. the existence or lack thereof of branch instructions within the previously fetched instructions) from a variety of fetch address sources. Depending upon the source of the fetch address, the fetch address is presented to one of the first and second instruction caches for fetching the corresponding instructions. If the first cache is selected to receive the fetch address, the fetch unit may select a prefetch address for presentation to the second cache. The prefetch address is selected from a variety of prefetch address sources and is presented to the second instruction cache. Instructions prefetched in response to the prefetch address are provided to the first instruction cache for storage. In one embodiment, the first instruction cache may be a low latency, relatively small cache while the second instruction cache may be a higher latency, relatively large cache. Fetch addresses from many of the fetch address sources may be likely to hit in the first instruction cache. Other fetch addresses may be less likely to hit in the first instruction cache. Accordingly, these fetch addresses may be immediately fetched from the second instruction cache, instead of first attempting to fetch from the first instruction cache.
机译:处理器采用第一指令高速缓存,第二指令高速缓存以及在第一和第二指令高速缓存中被设计为提供高获取带宽的采用获取/预取方法的获取单元。提取单元基于各种提取地址源中的先前提取的指令(例如,先前提取的指令中分支指令的存在或不存在)来选择提取地址。根据获取地址的来源,将获取地址提供给第一和第二指令高速缓存中的一个,以获取相应的指令。如果选择第一缓存来接收提取地址,则提取单元可以选择预提取地址以呈现给第二缓存。从各种预取地址源中选择预取地址,并将其提供给第二指令高速缓存。响应于预取地址而预取的指令被提供给第一指令高速缓存以进行存储。在一个实施例中,第一指令高速缓存可以是低等待时间,相对较小的高速缓存,而第二指令高速缓存可以是较高的等待时间,相对较大的高速缓存。来自许多获取地址源的获取地址可能会在第一条指令高速缓存中命中。其他提取地址可能不太可能在第一条指令高速缓存中命中。因此,可以立即从第二指令高速缓存中获取这些获取地址,而不是首先尝试从第一指令高速缓存中获取。

著录项

  • 公开/公告号US6199154B1

    专利类型

  • 公开/公告日2001-03-06

    原文格式PDF

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

    申请/专利号US19980099984

  • 发明设计人 DAVID B. WITT;

    申请日1998-06-19

  • 分类号G06F90/60;

  • 国家 US

  • 入库时间 2022-08-22 01:04:55

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号