首页> 外国专利> Prefetching data using profile of cache misses from earlier code executions

Prefetching data using profile of cache misses from earlier code executions

机译:使用早期代码执行中的缓存未命中配置文件预取数据

摘要

During execution of a code sequence, a profile is generated containing addresses of the data cache misses experienced during the execution. The profile is associated with the code sequence such that, during a future execution of the code sequence, the profile is available. Prefetching may be performed, based on the profile. Since the profile records a sequence of miss addresses, an arbitrarily complex miss pattern can be prefetched. In one embodiment, multiple profiles may be associated with a code sequence having multiple entry points (e.g. multiple instructions at which execution may begin within the code sequence). When the code sequence is executed, the profile associated with the entry point of the current execution may be selected. Additionally, a new profile may be generated. If the entry point of the current execution is not associated with a profile, the new profile is saved. If the entry point of the current execution is associated with a profile, the new profile is saved if the current profile is found to be ineffective.
机译:在执行代码序列期间,将生成一个配置文件,其中包含执行期间遇到的数据高速缓存未命中的地址。简档与代码序列相关联,使得在将来执行代码序列期间,简档是可用的。可以基于配置文件执行预取。由于配置文件记录了一系列未命中地址,因此可以预取任意复杂的未命中模式。在一个实施例中,多个简档可以与具有多个入口点的代码序列相关联(例如,可以在代码序列内开始执行的多个指令)。当执行代码序列时,可以选择与当前执行的入口点关联的配置文件。此外,可能会生成一个新的配置文件。如果当前执行的入口点未与概要文件关联,那么将保存新的概要文件。如果当前执行的入口点与配置文件相关联,则如果发现当前配置文件无效,则将保存新的配置文件。

著录项

  • 公开/公告号US6047363A

    专利类型

  • 公开/公告日2000-04-04

    原文格式PDF

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

    申请/专利号US19970950337

  • 发明设计人 W. KURT LEWCHUK;

    申请日1997-10-14

  • 分类号G06F12/08;

  • 国家 US

  • 入库时间 2022-08-22 01:37:27

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号