首页> 外国专利> METHOD AND APPARATUS FOR USING AN ASSIST PROCESSOR TO PRE-FETCH DATA VALUES FOR A PRIMARY PROCESSOR

METHOD AND APPARATUS FOR USING AN ASSIST PROCESSOR TO PRE-FETCH DATA VALUES FOR A PRIMARY PROCESSOR

机译:使用辅助处理器来预取主处理器的数据值的方法和装置

摘要

One embodiment of the present invention provides a system that prefetches from memory by using an assist processor that executes in advance of a primary processor. The system operates by executing executable code on the primary processor, and simultaneously executing a reduced version of the executable code on the assist processor. This reduced version runs more quickly than the executable code, and generates the same pattern of memory references as the executable code. This allows the assist processor to generate the same pattern of memory references that the primary processor generates in advance of when the primary processor generates the memory references. The system stores results of memory references generated by the assist processor in a store that is shared with the primary processor so that the primary processor can access the results of the memory references. In one embodiment of the present invention, this store is a cache memory. In one embodiment of the present invention, prior to executing the executable code, the system compiles source code into the executable code for the primary processor. The system also produces the reduced version of the executable code for the assist processor from the executable code by eliminating instructions from the executable code that have no effect on a pattern of memory references generated by the executable code.
机译:本发明的一个实施例提供了一种系统,该系统通过使用在主处理器之前执行的辅助处理器来从存储器中预取。该系统通过在主处理器上执行可执行代码,并同时在辅助处理器上执行可执行代码的简化版本来进行操作。此精简版本比可执行代码运行速度更快,并生成与可执行代码相同的内存引用模式。这允许辅助处理器生成与主处理器在主处理器生成存储器引用时先生成的存储器引用相同的模式。系统将由辅助处理器生成的内存引用的结果存储在与主处理器共享的存储中,以便主处理器可以访问内存引用的结果。在本发明的一个实施例中,该存储器是高速缓冲存储器。在本发明的一个实施例中,在执行可执行代码之前,系统将源代码编译成用于主处理器的可执行代码。该系统还通过从可执行代码中消除对由可执行代码生成的存储器引用的模式没有影响的指令,来从可执行代码中生成用于辅助处理器的可执行代码的简化版本。

著录项

  • 公开/公告号KR100800941B1

    专利类型

  • 公开/公告日2008-02-04

    原文格式PDF

  • 申请/专利权人

    申请/专利号KR20027009015

  • 发明设计人 트렘블리마크;쇼드리셰일랜더;

    申请日2002-07-12

  • 分类号G06F9/38;

  • 国家 KR

  • 入库时间 2022-08-21 19:52:37

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号